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

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(6 intermediate revisions by one other user not shown)
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
Line 11: 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
|text-get={{LSL Constant/PrimParamText|get}}
|text-get
|text-set={{LSL Constant/PrimParamText|set}}
|text-set
|examples=
|examples=
|constants=
|constants=
Line 23: Line 20:
{{LSL DefineRow||[[llGetObjectName]]|}}
{{LSL DefineRow||[[llGetObjectName]]|}}
{{LSL DefineRow||[[llSetObjectName]]|}}
{{LSL DefineRow||[[llSetObjectName]]|}}
{{LSL DefineRow||[[llGetObjectDetails]]|}}
|events
|events
|location
|location

Latest revision as of 02:27, 19 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.

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.

Caveats

Deep Notes