World
Events and effects
Dynamic events, objectives, visual effects and projectiles.
events
events.list([visible_only])table[]
Dynamic events around you:
{id, level, name, description, visible, completed, objectives}. Each objective is an Objective.objectives
objectives.list()Objective[]?
Every active objective.
objectives.by_ids(ids)Objective[]?
Objectives from a list of ids.
Objective types, as objectives.TIMER and so on
BREAK_MORALECAPTURE_LOCATIONCOLLECT_ITEMSCOUNTERCULLDEFEND_GADGETDEFEND_GADGETSESCORTINTIMIDATEKILL_COUNTREPAIR_GADGETSTIMEReffects
Visual effects in the world, such as the red circles and cones of enemy attacks. Each effect is {uid, effect_type, hashed_name, position, rotation, host}, where host is the agent it's attached to.
effects.list()table[]?
Every effect.
effects.by_id(id)table[]?
Effects of one type.
effects.by_name(name)table[]
Effects with a name.
effects.any_by_id(id)boolean
Whether any effect of that type is there.
effects.any_by_name(name)boolean
Whether any effect with that name is there.
missiles
missiles.list()table[]
Projectiles in flight:
{id, position, velocity, skill_id, skill_name, source_agent_id, target_agent_id, source, target}.