string llGetObjectName()
Returns the first 256 characters of the
scripted prim's name.
Use
llSetObjectName to change the prim's name.
An object's description field can be modified and read with
llSetObjectDesc and
llGetObjectDesc.
To find
other objects' names, see
llKey2Name and
llDetectedName.
To get the name of the script itself, use
llGetScriptName.
To get the name of a linked prim, use
llGetLinkName.
If the script is not in the root prim of an object, it returns the name of the linked prim that the script is in. In this case use
llGetLinkName with a parameter of 0 to obtain the name of the actual multi-prim object.
Functions |
Object |
Prim