Difference between revisions of "LlGetCreator"
Jump to navigation
Jump to search
Gally Young (talk | contribs) m (fixe) |
Kireji Haiku (talk | contribs) m (a few minor chanes) |
||
Line 8: | Line 8: | ||
|spec | |spec | ||
|caveats | |caveats | ||
|examples=<lsl>default | |examples= | ||
<lsl> | |||
default | |||
{ | { | ||
state_entry() | state_entry() | ||
{ | { | ||
llSay( | 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
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: key llGetCreator( );272 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a key for the creator of the prim.
Caveats
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 |