Hi I'm wanting to llStart_Collision(integer num_detected), only if the detected key is not an avatar. Can someone please tell me how, an example please??
Thanks
These forums are CLOSED. Please visit the new forums HERE
How To Limit A Collision Start |
|
|
BioMolecular Chemistry
Registered User
Join date: 16 Apr 2008
Posts: 24
|
01-04-2009 01:45
Hi I'm wanting to llStart_Collision(integer num_detected), only if the detected key is not an avatar. Can someone please tell me how, an example please??
Thanks |
|
Faust Vollmar
llSetAgentSanity(FALSE);
Join date: 3 Feb 2007
Posts: 87
|
01-04-2009 01:56
We only get the highly limited llCollisionFilter.
http://wiki.secondlife.com/wiki/LlCollisionFilter It can only block out or accept only by Name or UUID. I believe theres a JIRA out there for a more robust means of filtering collisions. EDIT: My apoligies, I should have provided the existing means of doing this. Make a check against llDetectedType for each entry you're interested in, in this case: if(llDetectedType(num) != AGENT) EDIT2: Er, no, Its bitfield, so if(~llDetectedType(num) & AGENT) |