Difference between revisions of "LlGetAgentInfo"

From Second Life Wiki
Jump to navigation Jump to search
Line 66: Line 66:
|examples
|examples
|helpers
|helpers
|also_functions
|also_functions={{LSL DefineRow||[[llRequestAgentInfo]]|}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 23:08, 27 February 2007

Summary

Function: integer llGetAgentInfo( key id );

Returns an integer bitfield containing the agent information about id.

• key id agent UUID in sim

Constant Represents Value
AGENT_ALWAYS_RUN Returned if agent has running ("Always Run") enabled. 0x1000
AGENT_ATTACHMENTS Returned if agent has attachments. 0x0002
AGENT_AWAY Returned if agent is in "away" mode. 0x0040
AGENT_BUSY Returned if agent is in "busy" mode. 0x0800
AGENT_CROUCHING Returned if agent is crouching. 0x0400
AGENT_FLYING Returned if agent is flying. 0x0001
AGENT_IN_AIR Returned if agent is in the air (hovering). 0x0100
AGENT_MOUSELOOK Returned if agent is in mouselook. 0x0008
AGENT_ON_OBJECT Returned if agent is sitting on an object. 0x0020
AGENT_SCRIPTED Returned if agent has scripted attachments. 0x0004
AGENT_SITTING Returned if agent is sitting. 0x0010
AGENT_TYPING Returned if agent is typing. 0x0200
AGENT_WALKING Returned if agent is walking. 0x0080

Examples

See Also

Functions

•  llRequestAgentInfo

Deep Notes

Search JIRA for related Issues

Signature

function integer llGetAgentInfo( key id );