Difference between revisions of "LlGetCreator"

From Second Life Wiki
Jump to navigation Jump to search
(multi lang)
m
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Multi-lang}}{{LSL_Function
{{LSL_Function
|func=llGetCreator
|func=llGetCreator
|sort=GetCreator
|sort=GetCreator
Line 9: Line 9:
|caveats
|caveats
|examples=
|examples=
<pre>
<source lang="lsl2">
default
default
{
{
     state_entry()
     state_entry()
     {
     {
         llSay(0,"My creator is: "+(string)llGetCreator() );
        key owner = llGetOwner();
        key creatorThisPrim = llGetCreator();
 
         llSay(0, "The creator of this prim has the key '"+(string)creatorThisPrim + "'.");
        llSay(0, "My owner has the key '" + (string)owner + "'.");
     }
     }
}
}
</pre>
</source>
|constants
|constants
|helpers
|helpers
Line 33: Line 37:
|cat3=Key
|cat3=Key
|cat4
|cat4
|haiku={{Haiku|An atheist says|There is no God and yet I|Can always find one.}}
}}
}}

Latest revision as of 00:46, 22 January 2015

Summary

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

Returns a key for the creator of the prim.

Examples

default
{
    state_entry()
    {
        key owner = llGetOwner();
        key creatorThisPrim = llGetCreator();

        llSay(0, "The creator of this prim has the key '"+(string)creatorThisPrim + "'.");
        llSay(0, "My owner has the key '" + (string)owner + "'.");
    }
}

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.