Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llGetAgentInfo

LSL
integer llGetAgentInfo(key id)

Returns 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 and/or AGENT_IN_AIR.\ Returns information about the given agent ID as a bit-field of agent info constants.

Parameters

TypeName
key id
Energy 10

The Linden Scripting Library — what every SL-compatible grid provides.

More in LSL