llGetAgentInfo
function ll.GetAgentInfo(AvatarID: string): 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.
Parameters
-
AvatarID(string)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetAgentInfo().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetAgentInfo