Difference between revisions of "User:Strife Onizuka/Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 59: Line 59:
{{#if:{{{r12_name|}}}{{{r12_type|}}}|{{LSL_DefineRow|1={{{r12_type|}}}|2={{#if:{{{r12_disp|}}}|{{{r12_disp|}}}|{{{r12_name|}}}}}|3={{#var:p_{{{r12_name|}}}_desc}}}}
{{#if:{{{r12_name|}}}{{{r12_type|}}}|{{LSL_DefineRow|1={{{r12_type|}}}|2={{#if:{{{r12_disp|}}}|{{{r12_disp|}}}|{{{r12_name|}}}}}|3={{#var:p_{{{r12_name|}}}_desc}}}}
}}}}}}}}}}}}}}}}}}}}}}}}}}
}}}}}}}}}}}}}}}}}}}}}}}}}}
{{{inject-2|}}}


{{#vardefine:params-table-get|{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}{{{list_name|}}}|
{{#vardefine:params-table-get|{{#if:{{#var:params-rows-get}}{{#var:params-rows-set}}{{{list_name|}}}|
Line 88: Line 90:
{{!}}-
{{!}}-
{{!}}} }} }}
{{!}}} }} }}
{{{inject-2|}}}


}}
}}
{{PPC|{{#var:PPC-1}}|{{{name|}}}|{{#var:params-list-set}}|required={{#var:params-list-get}}
{{PPC|{{#var:PPC-1}}|{{{name|}}}|{{#var:params-list-set}}|required={{#var:params-list-get}}
|list={{#if:{{{list_name|}}}|{{LSL Param|{{{list_name|}}}|{{{list_name|}}}|, click [show] for more information}}}}
|list={{#if:{{{list_name|}}}|{{LSL Param|{{{list_name|}}}|{{{list_disp|}}}|, click [show] for more information}}}}
|const={{#var:const_{{{name|}}}}}
|const={{#var:const_{{{name|}}}}}
|value={{{value}}}
|value={{{value}}}
Line 130: Line 130:


{{#vardefine:article_type|constant}}
{{#vardefine:article_type|constant}}
{{#vardefine:self|{{{self|}}}{{#var:self}}<noinclude>1</noinclude>}}


{{{inject-1|}}}
{{{inject-1|}}}
Line 282: Line 284:


{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
{{#vardefine:self|{{{self|}}}{{#var:self}}}}


{{#if:{{#var:newbie}}||
{{#if:{{#var:newbie}}||

Latest revision as of 05:20, 4 January 2011

See User:Strife Onizuka/Constant/docs for documentation.

This is a PrimitiveParams specific template.

Description

Constant: [[|]] [[|]] = ;

The constant has the value

llGetPrimitiveParams

llGetPrimitiveParams([ [[|]] ])

Returns the list [  ]

The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.

llSetPrimitiveParams

llSetPrimitiveParams([ [[|]] ])

The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.

Caveats

Related Articles