llGetCreator

From Second Life Wiki
Revision as of 10:00, 22 October 2012 by Kireji Haiku (talk | contribs) (a few minor chanes)
Jump to navigation Jump to search

Summary

Function: key llGetCreator( );
0.0 Forced Delay
10.0 Energy

Returns a key for the creator of the prim.

Examples

<lsl> default {

   state_entry()
   {
       key owner = llGetOwner();
       key creatorThisPrim = llGetCreator();
   //  PUBLIC_CHANNEL has the integer value 0
       llSay(PUBLIC_CHANNEL, "The creator of this prim has the key '"+(string)creatorThisPrim + "'.");
       llSay(PUBLIC_CHANNEL, "My owner has the key '" + (string)owner + "'.");
   }

}

</lsl>

See Also

Functions

•  llGetInventoryCreator
•  llGetOwner

Deep Notes

Signature

function key llGetCreator();