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

From Second Life Wiki
Jump to navigation Jump to search
m
(wording was bad)
Line 16: Line 16:
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{!footer|}}}|
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{!footer|}}}|
*{{#var:facechoise}}|}}{{#if:{{{return|}}}{{{returns|}}}|
*{{#var:facechoise}}|}}{{#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 {{#if:{{{2|}}}|{{{2|}}}}} {{#if:{{{return|}}}|return is {{{return|}}}| returns {{{returns|}}}}}|
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if its '''{{LSL_Param|{{{1|none}}}}}''' value indicates a face that does not exist.}}}}
*The {{#if:{{{2|}}}|{{{2|}}}|function}} silently fails if its '''{{LSL_Param|{{{1|none}}}}}''' value indicates a face that does not exist.}}}}



Revision as of 01:13, 25 December 2010

#var value
ALL_SIDES ALL_SIDES
p_none_desc face number or ALL_SIDES
p_none_hover face number or ALL_SIDES (-1)
facechoise If none is ALL_SIDES then the function works on all sides.
header_footnote

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

caveats
  • The function silently fails if its none value indicates a face that does not exist.