## Condition Types

### All Units Destroyed

- Triggers when the all of the specified player's units are destroyed.

- Only the Player field is valid, all others are ignored.

### Always

- Default condition, always triggers.

### Destroyed

- Triggers then the selected units are destroyed.

- Select the objects in the Game Window or the Scene Tree, then click Set Objects.

- Any triggers if any of the units are destroyed

- All triggers is all of the units are destroyed

- All Surviving is unused for this trigger

### Detected

- Triggers when the selected units are detected by the specified player.

- Select the objects in the Game Window or the Scene Tree, then click Set Objects.

- Any triggers if any of the units are detected

- All triggers is all of the units are detected

- All Surviving triggers if all of the units are either detected or destroyed. Note this will trigger if all of the units are destroyed.

### Range

- Triggers when the range between two sets of objects is less than or equal to the specified value.

- Select the single object for Object 1 in the Game Window or the Scene Tree, then click Set Object 1.

- Select the objects for Objects 2 in the Game Window or the Scene Tree, then click Set Object 2. This can be a single object or multiple.

- Any triggers when any of Objects 2 is within range of Object 1.

- All triggers when all of Objects 2 are within range of Object 1.

- All surviving triggers when all of Objects 2 are within range of Object 1 or destroyed. Note that this will also trigger if Object 1 is destroyed, or if all of Objects 2 are destroyed.

### Spacebar

- Triggers when the user pressed the <Spacebar>.

### Timer

- Trigger after the specified duration.

### UI Event

- Triggers when any of the specified User-Interface events occurs.

- This is mostly useful for tutorials.

- Special 1-4 are for special UI combinations used in the tutorials.