Difference between revisions of "LlGetKey"
Jump to navigation
Jump to search
(task is used so rarely and by simplifying it doesn't degrade the information.) |
m |
||
(4 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 45: | Line 42: | ||
|notes | |notes | ||
|cat1=Prim | |cat1=Prim | ||
|cat2 | |cat2=Key | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
|cat5 | |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 |