llGetAgentInfo

From Second Life Wiki
Revision as of 22:08, 27 February 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: integer llGetAgentInfo( key id );
0.0 Forced Delay
10.0 Energy

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

Signature

function integer llGetAgentInfo( key id );