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

From Second Life Wiki
Jump to navigation Jump to search
m (Created page with '{{User:Strife Onizuka/Constant |comment=Used to get or set the prim's description. |scope=prim |attr=description |name=PRIM_DESC |type=integer |value=28 |desc=Used to get or set ...')
 
m
 
(One intermediate revision by the same user not shown)
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=
Line 22: Line 22:
|events
|events
|location
|location
|cat1=Prim
<!--|cat1=Prim
|cat2=PrimitiveParams
|cat2=PrimitiveParams-->
|cat3
|cat3
|cat4
|cat4
|mode=user
}}
}}

Latest revision as of 00:57, 19 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