LlSetObjectDesc

De DigiWiki.

// 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
  • Cette page a été consultée 401 fois.
donate
Google Ads