Ontheleft is a panel, it organises your triggers into categories so you can find your triggers easily.
In a category lie triggers.
Each trigger has 3 things, and all are optional except Action (unless you want a blank trigger. ) They are Event(s), Condition(s) and Action(s).
An Event is an event that triggers the trigger, such as when a unit enters a region, a unit dies, or a certain amount of time is elapsed.
A Condition makes conditions for the Actions to occur. Such as if the number of units in a region is zero. An example trigger in pseudocode would be 'If there are 0 units in a region spawn ten Wisps'.
An Action are what happens, such as create Unit, defeat Player, change music, change Fog of War and the hundred-or-so actions in the drop-down box.
Some triggers do not use Events, instead the trigger is invoked directly by another trigger using Trigger - Run trigger [trigger].
Triggers can be on or off at startup, so say a timer will be off until a player's score reaches 10.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.