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

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<onlyinclude>{{#if:
{{User:Strife_Onizuka/Constant
 
|comment=Used to get or set the prim's name.
{{#vardefine:name_const|{{LSL Const|PRIM_NAME|integer||c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's name}}}}
|scope=prim
 
|attr=name
}}</onlyinclude>{{#if:
 
}}{{User:Strife_Onizuka/Constant
|name=PRIM_NAME
|name=PRIM_NAME
|type=integer
|type=integer

Revision as of 12:33, 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