An event is a type of agent which is used to evaluate triggers when specific things occur with the game engine.

Contents

Trigger Editor

In the Trigger Editor a Trigger is activated when one of it's events occurs. To add an event to a trigger you right click the Events, Conditions, or Actions area and select New Event.

Dynamic Events

Using the Trigger Editor it's possible to use the [[]]

JASS

What is an event?

An event is a type of agent which refers to a bound trigger event on a specific trigger. A new one is returned every time a trigger event is bound onto a trigger. All events refering to bound trigger events on a specific trigger are removed automatically when the trigger is destroyed. It appears this object was meant to allow for the removal of trigger events without the need to destroy a trigger however natives capable of interacting with this object in a constructive way were never added to warcraft III so this object remains of no importance to triggeres. Although of no use to triggerers, it probably is very important in the functioning of triggers as it has a lot of the properties of other objects (like an unique handle ID).

Examples

Events

    Unit - A unit owned by Player 2(Blue) Acquires an item

(This event will begin when a unit(including heroes) owned by player 2 gets an item(be it picked up, brought, ect))

Events

    Player 9 (Grays)'s Food used becomes Greater than or equal to 55.00

(This event will begin when player 9 uses 55 or greater food (when buying units, heroes, mercenaries or buildings in some maps))