Difference between revisions of "PRIM NAME"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:


}}{{LSL Constant
}}{{LSL Constant
|inject-2={{LSL PrimitiveParam Categorize|Prim}}
|name=PRIM_NAME
|name=PRIM_NAME
|type=integer
|type=integer
Line 33: Line 34:
|events
|events
|location
|location
|cat1=PrimitiveParams
|cat1=Legacy Name<!--only in this category because of llGetLinkPrimitiveParams and seated avatars-->
|cat2=PrimitiveParams/Prim
|cat2
|cat3=Legacy Name<!--only in this category because of llGetLinkPrimitiveParams and seated avatars-->
|cat4=Prim
|cat5
}}
}}

Revision as of 21:12, 1 July 2012

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


Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_NAME = 27;