Difference between revisions of "LlGetKey"
Jump to navigation
Jump to search
Gigs Taggart (talk | contribs) (sort) |
m |
||
(6 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() | ||
{ | { | ||
llOwnerSay(llGetKey()); | |||
llOwnerSay(llGetLinkKey(llGetLinkNumber())); | |||
} | } | ||
} | }</source> | ||
</ | |||
|helpers | |helpers | ||
|also_header | |also_header | ||
Line 37: | Line 35: | ||
|also_articles | |also_articles | ||
|also_footer | |also_footer | ||
|also_functions | |also_functions= | ||
{{LSL DefineRow||[[llGetLinkKey]]|}} | |||
{{LSL DefineRow||[[llGetLinkNumber]]|}} | |||
|also_events | |also_events | ||
|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 |