Difference between revisions of "User:Strife Onizuka/PRIM NAME"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
|desc=Used to get or set the prim's name.
|desc=Used to get or set the prim's name.
|r1_type=string|r1_name=name
|r1_type=string|r1_name=name
|list_name=flag_parameters|list_desc=Additional parameters required by the flag
|text-get={{LSL Constant/PrimParamText|get}}
|text-get={{LSL Constant/PrimParamText|get}}
|text-set={{LSL Constant/PrimParamText|set}}
|text-set={{LSL Constant/PrimParamText|set}}

Revision as of 22:03, 18 November 2010

Description

Constant: integer PRIM_NAME = 27;

The integer constant PRIM_NAME has the value 27

Used to get or set the prim's name.

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. The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.

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. The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.

Caveats

Deep Notes