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 [2016-01-02 09:05 SLT]
sei Precedence with multiple scripts calling it
functions:llpasscollisions [2016-01-02 09:09 SLT] (current)
sei Reordering
Line 31: Line 31:
   * 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.
-  * 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]).+
  
 ===== Short examples ===== ===== Short examples =====