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

From Second Life Wiki
Jump to navigation Jump to search
m (that should fix that)
Line 1: Line 1:
{{#if:
{{#if:
{{#vardefine:header|{{#var:header}}
{{#switch:{{#if:{{{nc|}}}|Template|{{NAMESPACE}}}}|Template=|User=|{{LSLC|Face{{#var:lang}}}}}}}}


{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}
{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}
Line 17: Line 20:
*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.}}}}


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

Revision as of 09:26, 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.