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

From Second Life Wiki
Jump to navigation Jump to search
(dirty way to implement behaviour to remove ALL_SIDES.)
Line 17: Line 17:
*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.}}}}


}}<noinclude>
}}{{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|{{LSLC|Face{{#var:lang}}}}}}<noinclude>
{| {{Prettytable}}
{| {{Prettytable}}
|-{{Hl2}}
|-{{Hl2}}

Revision as of 09:18, 3 February 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.