Difference between revisions of "LlGetCreator"

From Second Life Wiki
Jump to navigation Jump to search
m (fixe)
m (a few minor chanes)
Line 8: Line 8:
|spec
|spec
|caveats
|caveats
|examples=<lsl>default
|examples=
<lsl>
default
{
{
     state_entry()
     state_entry()
     {
     {
         llSay(0,"My creator is: "+(string)llGetCreator() );
        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>
}
</lsl>
|constants
|constants
|helpers
|helpers

Revision as of 11:00, 22 October 2012

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();