llGetCreator

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

Summary

Function: key llGetCreator( );

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

Search JIRA for related Issues

Signature

function key llGetCreator();