LlSetObjectDesc
De DigiWiki.
(Différences entre les versions)
Djphil (discuter | contributions)
(Page créée avec « <lsl> // WARNING: // // llSetObjectDesc(string desc); sets the description of the prim containing the script. // // to set the description of a linkset's root prim … »)
(Page créée avec « <lsl> // WARNING: // // llSetObjectDesc(string desc); sets the description of the prim containing the script. // // to set the description of a linkset's root prim … »)
Version actuelle en date du 28 septembre 2012 à 08:04
// WARNING: // // llSetObjectDesc(string desc); sets the description of the prim containing the script. // // to set the description of a linkset's root prim use // llSetLinkPrimitiveParamsFast(LINK_ROOT, [PRIM_DESC, string desc]); instead default { touch_start(integer total_number) { // store owner's legacy name in the decription // field of the prim containing the script string ownerLegacyName = llKey2Name(llGetOwner()); llSetObjectDesc(ownerLegacyName); } }


