Unofficial LSL Reference

[[functions:llpasscollisions]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

functions:llpasscollisions [2015-12-09 10:50 SLT]
sei Resolve ambiguity
functions:llpasscollisions [2016-01-02 09:09 SLT] (current)
sei Reordering
Line 27: Line 27:
 ===== Notes ===== ===== Notes =====
  
-  * For an object with $lfn[llVolumeDetect] set to $ct[TRUE], this setting has no effect. Only the scripts in the root will receive $ev[collision_start] and $ev[collision_end] events coming from any prim in the object, no other script in any other prim prim will, and no script in any other prim will register $ev[collision] or $ev[land_`*] events.+  * For an object with $lfn[llVolumeDetect] set to $ct[TRUE], this setting has no effect. Only the scripts in the root will receive $ev[collision_start] and $ev[collision_end] events coming from any prim in the object, no other script in any other prim will, and no script in any prim will register $ev[collision] or $ev[land_`*] events.
   * If there is an active collision event in the child, it will always register collisions, regardless of this setting. It only affects whether the root will register collisions.   * If there is an active collision event in the child, it will always register collisions, regardless of this setting. It only affects whether the root will register collisions.
   * The setting only takes place for the prim where the script is in; it doesn'​t affect any other prims.   * The setting only takes place for the prim where the script is in; it doesn'​t affect any other prims.
   * $perscript   * $perscript
 +    * If the same script calls this function several times, the one that was executed last prevails. If several scripts in the same prim call it, the one with the highest value takes precedence ($ct[PASS_NEVER] has precedence over $ct[PASS_ALWAYS],​ which has precedence over $ct[PASS_IF_NOT_HANDLED]).
   * What does //active// mean in this case? Collision events are //active// only if the script is running and in a state that has a collision event. If the script stops running, or if the current state has no collision event, there will be no active collision event for that script.   * What does //active// mean in this case? Collision events are //active// only if the script is running and in a state that has a collision event. If the script stops running, or if the current state has no collision event, there will be no active collision event for that script.
 +
  
 ===== Short examples ===== ===== Short examples =====