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

From Second Life Wiki
Jump to: navigation, search
m (figuring out where the text belongs, it's not quite a caveat and it's too general to go in the header footnotes.)
m
Line 4: Line 4:
 
{{#vardefine:p_{{{1|none}}}_desc|Index of detection information}}
 
{{#vardefine:p_{{{1|none}}}_desc|Index of detection information}}
 
{{#vardefine:p_{{{1|none}}}_hover|Index of detection information}}
 
{{#vardefine:p_{{{1|none}}}_hover|Index of detection information}}
{{#vardefine:spec|{{#if:{{#var:spec}}|{{#var:spec}}<br/>}}
+
{{#vardefine:spec|{{#if:{{{simple|}}}|{{#var:spec}}|{{#if:{{#var:spec}}|{{#var:spec}}<br/>}}
{{LSLGC|Detected|llDetected*}} functions can be called anywhere but will only return non-default values if called from within Detection events and functions called by Detection events.}}
+
{{LSLGC|Detected|llDetected*}} functions can be called anywhere but will only return non-default values if called from within Detection events and functions called by Detection events.}}}}
{{#vardefine:caveats|{{#var:caveats}}
+
{{#vardefine:caveats|{{#if:{{{simple|}}}|{{#var:caveats}}|{{#var:caveats}}
 
*Events that enable the {{LSLGC|Detected|llDetected*}} functions always return at least one detected item.
 
*Events that enable the {{LSLGC|Detected|llDetected*}} functions always return at least one detected item.
 
**Detection events are not raised if there is nothing detected (with the slight exception of [[no_sensor]] but it doesn't enable {{LSLGC|Detected|llDetected*}} functions).
 
**Detection events are not raised if there is nothing detected (with the slight exception of [[no_sensor]] but it doesn't enable {{LSLGC|Detected|llDetected*}} functions).
**The event detection count parameter value is initially never less than 1.}}
+
**The event detection count parameter value is initially never less than 1.}}}}
 
}}<includeonly>{{LSLC|Detected|{{{2}}}}}</includeonly>
 
}}<includeonly>{{LSLC|Detected|{{{2}}}}}</includeonly>

Revision as of 16:02, 23 August 2008