LlSetObjectDesc

De DigiWiki.

Version du 28 septembre 2012 à 08:04 par Djphil (discuter | contributions)
(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
// 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);
    }
}
Outils personnels
donate
Google Ads