World

Events and effects

Dynamic events, objectives, visual effects and projectiles.

events

Dynamic events around you: {id, level, name, description, visible, completed, objectives}. Each objective is an Objective.

objectives

objectives.list()Objective[]?
Every active objective.
Objectives from a list of ids.
Objective types, as objectives.TIMER and so on
BREAK_MORALECAPTURE_LOCATIONCOLLECT_ITEMSCOUNTERCULLDEFEND_GADGETDEFEND_GADGETSESCORTINTIMIDATEKILL_COUNTREPAIR_GADGETSTIMER

effects

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.

Every effect.
Effects of one type.
Effects with a name.
Whether any effect of that type is there.
Whether any effect with that name is there.

missiles

Projectiles in flight: {id, position, velocity, skill_id, skill_name, source_agent_id, target_agent_id, source, target}.