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

From Second Life Wiki
Jump to navigation Jump to search
m
Line 46: Line 46:
}}
}}


<!--
{{#if:{{{nocaveats|}}}||
{{#if:{{{nocaveats|}}}||
{{#vardefine:caveats|
{{#vardefine:caveats|
* Has no known effect if called from within the root prim.
{{#var:caveats}}}}
{{#var:caveats}}}}
}}
}}
-->
 
{{#vardefine:spec|{{PBR}}
==={{{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.
{{#var:spec}}}}


}}<noinclude>
}}<noinclude>
Line 65: Line 69:
{{VarPair|constants_nb}}
{{VarPair|constants_nb}}
|-
|-
{{VarPair|notes}}
{{VarPair|caveats}}
|-
{{VarPair|spec}}
|}
|}
</noinclude>
</noinclude>

Revision as of 20:38, 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.