Difference between revisions of "LlGetAgentInfo"

From Second Life Wiki
Jump to navigation Jump to search
m (Fix for alphabetical order in Functions list)
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func=llGetAgentInfo
|sort=GetAgentInfo
|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|p1_desc=agent [[UUID]] in [[sim]]
|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 05:05, 29 March 2007

Summary

Function: integer llGetAgentInfo( key id );

Returns an integer bitfield containing the agent information about id.

• key id agent UUID in sim

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

Examples

See Also

Functions

•  llRequestAgentData

Deep Notes

Search JIRA for related Issues

Signature

function integer llGetAgentInfo( key id );