llGetCreator

From Second Life Wiki
Revision as of 20:31, 2 April 2014 by Rolig Loon (talk | contribs)
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();

Haiku

An atheist says
There is no God and yet I
Can always find one.