Difference between revisions of "PRIM NAME"
Jump to navigation
Jump to search
m |
m |
||
Line 36: | Line 36: | ||
|cat2=PrimitiveParams/Prim | |cat2=PrimitiveParams/Prim | ||
|cat3=Legacy Name<!--only in this category because of llGetLinkPrimitiveParams and seated avatars--> | |cat3=Legacy Name<!--only in this category because of llGetLinkPrimitiveParams and seated avatars--> | ||
|cat4 | |cat4=Prim | ||
|cat5 | |cat5 | ||
}} | }} |
Revision as of 20:58, 1 July 2012
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