Difference between revisions of "LlGetKey"
Jump to navigation
Jump to search
(improve example: add compare with llGetLinkKey of llGetLinkNumber, convert to llOwnerSay from llSay 0) |
m |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 19: | Line 19: | ||
|p12_type|p12_name|p12_desc | |p12_type|p12_name|p12_desc | ||
|return_type=key | |return_type=key | ||
| | |Return_text=of the prim the script is in. | ||
|spec | |spec | ||
|caveats | |caveats | ||
|examples= | |examples=<source lang="lsl2">default | ||
< | |||
default | |||
{ | { | ||
state_entry() | state_entry() | ||
Line 31: | Line 29: | ||
llOwnerSay(llGetLinkKey(llGetLinkNumber())); | llOwnerSay(llGetLinkKey(llGetLinkNumber())); | ||
} | } | ||
} | }</source> | ||
</ | |||
|helpers | |helpers | ||
|also_header | |also_header | ||
Line 44: | Line 41: | ||
|also_articles= | |also_articles= | ||
|notes | |notes | ||
|cat1=Prim | |||
|cat2=Key | |||
|cat3 | |||
|cat4 | |||
|cat5 | |||
}} | }} |
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 |