Difference between revisions of "LlGetAgentInfo"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func_id=206|func_sleep=0.0|func_energy=10.0
|func_id=206|func_sleep=0.0|func_energy=10.0
|func=llGetAgentInfo|return_type=integer|p1_type=key|p1_name=id
|func=llGetAgentInfo|return_type=integer|p1_type=key|p1_name=id|p1_desc=agent [[UUID]] in [[sim]]
|func_footnote
|func_footnote
|func_desc
|func_desc

Revision as of 13:32, 9 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

Deep Notes

Search JIRA for related Issues

Signature

function integer llGetAgentInfo( key id );