Difference between revisions of "LlGetKey"
Jump to navigation
Jump to search
Omei Qunhua (talk | contribs) (Changed wording. "Key of the prim the script is attached to" was confusing some users to think it meant the wearer's key, if attached.) |
m |
||
Line 22: | Line 22: | ||
|spec | |spec | ||
|caveats | |caveats | ||
|examples=< | |examples=<source lang="lsl2">default | ||
{ | { | ||
state_entry() | state_entry() | ||
Line 29: | Line 29: | ||
llOwnerSay(llGetLinkKey(llGetLinkNumber())); | llOwnerSay(llGetLinkKey(llGetLinkNumber())); | ||
} | } | ||
}</ | }</source> | ||
|helpers | |helpers | ||
|also_header | |also_header |
Latest revision as of 02:01, 22 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: key llGetKey( );121 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns the key of the prim the script is in.
Caveats
Examples
default
{
state_entry()
{
llOwnerSay(llGetKey());
llOwnerSay(llGetLinkKey(llGetLinkNumber()));
}
}
See Also
Functions
• | llGetLinkKey | |||
• | llGetLinkNumber |