Difference between revisions of "LlGetCreator"

From Second Life Wiki
Jump to navigation Jump to search
m (a few minor chanes)
Line 38: Line 38:
|cat3=Key
|cat3=Key
|cat4
|cat4
|haiku={{Haiku|An atheist says|There is no God and yet I|Can always find one.}}
}}
}}

Revision as of 20:31, 2 April 2014

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.