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

From Second Life Wiki
Jump to: navigation, search
m (Reversed it ~_~)
m (*sigh*)
 
Line 1: Line 1:
 
{{LSL Injection Test}}{{#if:
 
{{LSL Injection Test}}{{#if:
  
{{#vardefine:header|{{#var:header}}{{#if:{{{nc|}}}{{#pos:{{#var:moded}}|r}}||{{#switch:{{NAMESPACE}}|Template=|User=|[[Category:LSL Face{{#var:lang}}]][[Category:LSL Face{{#var:lang}}/{{#if:{{{return|}}}|Get|Set}}]]}}}}}}
+
{{#vardefine:header|{{#var:header}}{{#if:{{{nc|}}}{{#pos:{{#var:moded}}|r}}||{{#switch:{{NAMESPACE}}|Template=|User=|[[Category:LSL Face{{#var:lang}}]][[Category:LSL Face{{#var:lang}}/{{#if:{{{return|}}}{{{returns|}}}|Get|Set}}]]}}}}}}
  
 
{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}
 
{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}

Latest revision as of 00:43, 6 January 2013

#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.