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

From Second Life Wiki
Jump to navigation Jump to search
m
Line 54: Line 54:
{{#if:{{{default|}}}|
{{#if:{{{default|}}}|
{{#vardefine:header_footnote|{{#var:header_footnote}}{{PBR}}
{{#vardefine:header_footnote|{{#var:header_footnote}}{{PBR}}
A prims default pass value is {{#var:{{{default|}}}}}.{{PBR}}
The default value for this attribute is {{#var:{{{default|}}}}}.{{PBR}}
}}
}}
}}
}}

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