Difference between revisions of "LlGetCreator"

From Second Life Wiki
Jump to navigation Jump to search
m (a few minor chanes)
m
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|caveats
|caveats
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
Line 17: Line 17:
         key creatorThisPrim = llGetCreator();
         key creatorThisPrim = llGetCreator();


    //  PUBLIC_CHANNEL has the integer value 0
         llSay(0, "The creator of this prim has the key '"+(string)creatorThisPrim + "'.");
         llSay(PUBLIC_CHANNEL, "The creator of this prim has the key '"+(string)creatorThisPrim + "'.");
         llSay(0, "My owner has the key '" + (string)owner + "'.");
         llSay(PUBLIC_CHANNEL, "My owner has the key '" + (string)owner + "'.");
     }
     }
}
}
</lsl>
</source>
|constants
|constants
|helpers
|helpers
Line 38: 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 01:46, 22 January 2015