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

From Second Life Wiki
Jump to: navigation, search
Line 5: Line 5:
 
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{return|}}}{{{returns|}}}|
 
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{return|}}}{{{returns|}}}|
 
*If '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist the return {{#if:{{{2|}}}|for the {{{2|}}} }} {{#if:{{{return|}}} is {{{return|}}}.| are {{{returns|}}}.}}|
 
*If '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist the return {{#if:{{{2|}}}|for the {{{2|}}} }} {{#if:{{{return|}}} is {{{return|}}}.| are {{{returns|}}}.}}|
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if '''{{LSL_Param|{{{1|none}}}}}''' indicates a face that does not exist}}}}
+
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if it's '''{{LSL_Param|{{{1|none}}}}}''' value indicates a face that does not exist}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{#var:header_footnote}}
 
{{#var:header_footnote}}

Revision as of 19:00, 29 April 2007

If none is ALL_SIDES then the function works on all sides.

  • The function silently fails if it's none value indicates a face that does not exist

face number or ALL_SIDES (-1)

face number or ALL_SIDES (-1)