Difference between revisions of "PRIM NAME/ja"
Jump to navigation
Jump to search
Mizu Melody (talk | contribs) (Created page with "<onlyinclude>{{#if: {{LSL Function/limits}} {{LSL Function/color|color}} {{LSL Function/alpha|alpha}} {{#vardefine:p_text_set_hover|floating text to display}} {{#vardefine:p_te…") |
Mizu Melody (talk | contribs) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: | <onlyinclude>{{#if: | ||
{{#vardefine:name_const|{{LSL Const|PRIM_NAME|integer||c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's name}}}} | |||
{{#vardefine: | |||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
}}{{LSL Constant | }}{{LSL Constant | ||
|name= | |name=PRIM_NAME | ||
|type=integer | |type=integer | ||
|value= | |value=27 | ||
|desc=Used to get or set the | |desc=Used to get or set the prim's name. | ||
|pa={{LSL Constant/List|i_front=[[llSetPrimitiveParams]]([ {{#var: | |pa={{LSL Constant/List|i_front=[[llSetPrimitiveParams]]([ {{#var:name_const}}, |i_end= ]); | ||
|text= | |text={{LSL Constant/PrimParamText|set}} | ||
|i1_type=string|i1_name= | |i1_type=string|i1_name=name | ||
|toc=llSetPrimitiveParams | |toc=llSetPrimitiveParams | ||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var: | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:name_const}}|i_end= ]);| | ||
|r_front=Returns the list [ |r_end= ] | |r_front=Returns the list [ |r_end= ] | ||
|text= | |text={{LSL Constant/PrimParamText|get}} | ||
|r1_type=string|r1_name= | |r1_type=string|r1_name=name | ||
|toc=llGetPrimitiveParams | |toc=llGetPrimitiveParams | ||
}} | }} | ||
Line 52: | Line 29: | ||
{{LSL DefineRow||[[llGetPrimitiveParams]]|}} | {{LSL DefineRow||[[llGetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llGetLinkPrimitiveParams]]|}} | {{LSL DefineRow||[[llGetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llGetObjectName]]|}} | ||
{{LSL DefineRow||[[llSetObjectName]]|}} | |||
|events | |events | ||
|location | |location | ||
|cat1=Prim | |cat1=Prim | ||
|cat2= | |cat2=PrimitiveParams | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 18:17, 17 December 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_NAME = 27;The integer constant PRIM_NAME has the value 27
Used to get or set the prim's name.
llSetPrimitiveParams
llSetPrimitiveParams([ PRIM_NAME, string name ]);• string | name |
The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_NAME ]);Returns the list [ string name ]
• string | name |
The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.
Caveats