Difference between revisions of "Template:LSL Function/Pass"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 53: Line 53:


{{#vardefine:spec|{{PBR}}
{{#vardefine:spec|{{PBR}}
==={{{2}}} Passing===
===={{{2}}} Passing====
Whether {{{3|}}} are passed to the root prim depends not only on which PASS_* flag is selected, but may also depend on if there is a script that in the prim that handles one of the {{{2|}}} events.  
Whether {{{3|}}} are passed to the root prim depends not only on which PASS_* flag is selected, but may also depend on if there is a script that in the prim that handles one of the {{{2|}}} events.  
{{#var:spec}}}}
{{#var:spec}}}}

Revision as of 19:39, 1 January 2016

#var value
p__desc PASS_* flag
also_functions
constants_nb
Constant Value Script No Script Description
PASS_IF_NOT_HANDLED 0 not passed passed are not passed on to the root while there is a script in the prim.
PASS_ALWAYS 1 passed passed are passed from children on to the root.
PASS_NEVER 2 not passed not passed are never passed on to the root.
caveats
  • Has no known effect if called from within the root prim.
spec

{{{2}}} Passing

Whether are passed to the root prim depends not only on which PASS_* flag is selected, but may also depend on if there is a script that in the prim that handles one of the events.