Difference between revisions of "LlGetCreator"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(12 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func=llGetCreator|sort=GetCreator
|func=llGetCreator
|sort=GetCreator
|func_id=272|func_sleep=0.0|func_energy=10.0
|func_id=272|func_sleep=0.0|func_energy=10.0
|func_footnote
|func_footnote
|return_type=key
|return_type=key
|return_text=for the creator of the object.
|return_text=for the creator of the prim.
|spec
|spec
|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 28: Line 33:
|permission
|permission
|negative_index
|negative_index
|cat1
|cat1=Prim
|cat2
|cat2=Creator
|cat3
|cat3=Key
|cat4
|cat4
|haiku={{Haiku|An atheist says|There is no God and yet I|Can always find one.}}
}}
}}

Latest revision as of 01:46, 22 January 2015