Difference between revisions of "Conditions"

From HIVE
Jump to navigation Jump to search
(Created page with "=== How to use Conditions to filter Events === Wondering how to do things more specific than simply "Any unit enters 'region'"? You'll have to use Conditions. For example, if...")
(No difference)

Revision as of 02:30, 25 December 2012

How to use Conditions to filter Events

Wondering how to do things more specific than simply "Any unit enters 'region'"? You'll have to use Conditions.

For example, if you want to know when any Marine of the Player 2 enters the region named 'NO U', here's what you'll have to do:

StarCraft 2 Trigger [template]
Events:

Any unit enters 'NO U'

Variables:

None.

Conditions:

Triggering Unit Type == Marine

Triggering Player == 2

Actions:

None.