Difference between revisions of "LlGetAgentInfo"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
|spec | |spec | ||
|caveats | |caveats | ||
|constants={{{!}} {{Prettytable}} | |constants={{{!}} | ||
! | {{!}} | ||
! | {{{!}}{{Prettytable}} | ||
! | {{!}}-{{Hl2}} | ||
! colspan="2" {{!}} Constant | |||
! Returned if agent... | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_ALWAYS_RUN}} | {{!}}{{LSLG|AGENT_ALWAYS_RUN}} | ||
{{!}}{{LSL Hex|0x1000|4096}} | {{!}}{{LSL Hex|0x1000|4096}} | ||
{{!}}has running ("Always Run") enabled | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_ATTACHMENTS}} | {{!}}{{LSLG|AGENT_ATTACHMENTS}} | ||
{{!}}{{LSL Hex|0x0002|2}} | {{!}}{{LSL Hex|0x0002|2}} | ||
{{!}}has attachments | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_AWAY}} | {{!}}{{LSLG|AGENT_AWAY}} | ||
{{!}}{{LSL Hex|0x0040|64}} | {{!}}{{LSL Hex|0x0040|64}} | ||
{{!}}is in "away" mode | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_BUSY}} | {{!}}{{LSLG|AGENT_BUSY}} | ||
{{!}}{{LSL Hex|0x0800|2048}} | {{!}}{{LSL Hex|0x0800|2048}} | ||
{{!}}is in "busy" mode | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_CROUCHING}} | {{!}}{{LSLG|AGENT_CROUCHING}} | ||
{{!}}{{LSL Hex|0x0400|1024}} | {{!}}{{LSL Hex|0x0400|1024}} | ||
{{!}}is crouching | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_FLYING}} | {{!}}{{LSLG|AGENT_FLYING}} | ||
{{!}}{{LSL Hex|0x0001|1}} | {{!}}{{LSL Hex|0x0001|1}} | ||
{{!}}is flying | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_IN_AIR}} | {{!}}{{LSLG|AGENT_IN_AIR}} | ||
{{!}}{{LSL Hex|0x0100|256}} | {{!}}{{LSL Hex|0x0100|256}} | ||
{{!}}is in the air (hovering) | |||
{{!}}} | |||
{{!}} | |||
{{{!}}{{Prettytable}} | |||
{{!}}-{{Hl2}} | |||
! colspan="2" {{!}} Constant | |||
! Returned if agent... | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_MOUSELOOK}} | {{!}}{{LSLG|AGENT_MOUSELOOK}} | ||
{{!}}{{LSL Hex|0x0008|8}} | {{!}}{{LSL Hex|0x0008|8}} | ||
{{!}}is in mouselook | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_ON_OBJECT}} | {{!}}{{LSLG|AGENT_ON_OBJECT}} | ||
{{!}}{{LSL Hex|0x0020|32}} | {{!}}{{LSL Hex|0x0020|32}} | ||
{{!}}is sitting on an object | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_SCRIPTED}} | {{!}}{{LSLG|AGENT_SCRIPTED}} | ||
{{!}}{{LSL Hex|0x0004|4}} | {{!}}{{LSL Hex|0x0004|4}} | ||
{{!}}has scripted attachments | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_SITTING}} | {{!}}{{LSLG|AGENT_SITTING}} | ||
{{!}}{{LSL Hex|0x0010|16}} | {{!}}{{LSL Hex|0x0010|16}} | ||
{{!}}is sitting | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_TYPING}} | {{!}}{{LSLG|AGENT_TYPING}} | ||
{{!}}{{LSL Hex|0x0200|512}} | {{!}}{{LSL Hex|0x0200|512}} | ||
{{!}}is typing | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSLG|AGENT_WALKING}} | {{!}}{{LSLG|AGENT_WALKING}} | ||
{{!}}{{LSL Hex|0x0080|128}} | {{!}}{{LSL Hex|0x0080|128}} | ||
{{!}}is walking | |||
{{!}}- | |||
{{!}} | |||
{{!}} | |||
{{!}} | |||
{{!}}} | |||
{{!}}} | {{!}}} | ||
|examples | |examples | ||
Line 73: | Line 86: | ||
|permission | |permission | ||
|negative_index | |negative_index | ||
|cat1= | |cat1=AvatarAndAgent | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 06:16, 1 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetAgentInfo( key id );206 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns an integer bitfield containing the agent information about id.
• key | id | – | agent UUID in sim |
|
|
Caveats
Examples
See Also
Functions
• | llRequestAgentData |