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

From Second Life Wiki
Jump to: navigation, search
(This probably will not work how I want it to but lets see where we end up.)
m (Reversed it ~_~)
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|}}}|Set|Get}}]]}}}}}}
+
{{#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:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}
 
{{#vardefine:ALL_SIDES|{{LSL Const|ALL_SIDES|integer|-1|hex=0xFFFFFFFF}}}}

Revision as of 00:31, 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.