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

From Second Life Wiki
Jump to: navigation, search
m
m
 
Line 8: Line 8:
 
|desc=Used to get or set the prim's description.
 
|desc=Used to get or set the prim's description.
 
|r1_type=string|r1_name=description
 
|r1_type=string|r1_name=description
|text-get={{LSL Constant/PrimParamText|get}}
+
|text-get
|text-set={{LSL Constant/PrimParamText|set}}
+
|text-set
 
|examples=
 
|examples=
 
|constants=
 
|constants=

Latest revision as of 23:57, 18 November 2010

Description

Constant: integer PRIM_DESC = 28;

The integer constant PRIM_DESC has the value 28

Used to get or set the prim's description.

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_DESC ])

Returns the list [ string description ]

• string description

The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.

llSetPrimitiveParams

llSetPrimitiveParams([ PRIM_DESC, string description ])
• string description

The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.

Caveats

Deep Notes