ll.GetAgentInfo (AvatarID: uuid) -> numberReturns an integer bit-field containing the agent information about id. Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING, AGENT_IN_AIR and/or AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT. Returns information about the given agent ID as a bit-field of agent info constants.
ll.GetAgentInfo(uuid(<key>))
{
"def": "func",
"desc": "Returns an integer bit-field containing the agent information about id.\n Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING, AGENT_IN_AIR and/or AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT.\nReturns information about the given agent ID as a bit-field of agent info constants.",
"energy": 10,
"sleep": 0,
"must_use": true,
"link": "https://wiki.secondlife.com/wiki/LlGetAgentInfo",
"private": false,
"takesSelf": false,
"name": "GetAgentInfo",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "number"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "AvatarID",
"desc": "",
"type": [
{
"def": "simple",
"value": "uuid"
},
{
"def": "simple",
"value": "string"
}
],
"variadic": false,
"optional": false
}
]
}
]
}