Events

Events are a part of a trigger that define what the trigger should listen for. When any of the events occur in game, the trigger continues to check its conditions, and if they are true, execute the trigger actions.

Click here to view a list of built-in events.

Triggering Object
Certain functions return the object that caused the event being listened for. Say, you are listening for the event Unit Enters/Leaves Region. The function Triggering Unit will then return the unit that has entered or left the region. Events usually state, in their help text, which functions you should use to get the triggering object you need.

Event Definitions
The Starcraft 2 Editor allows you to create your own events for use in other triggers. To create an event, right-click in the trigger list on the left, go to New and click on New Event Definition. You may then have triggers that will listen for the event you have created.