8. Win/Lose-Triggers In Singleplayer Tutorial
For every single player map, you should set up win/lose triggers for the human player. We assume you already have created your map and set up the houses (FinalAlert 2: Yuri's Revenge TM can do this automatically for you but you’ll still need to define how much money everybody has).
You should follow the general triggers tutorial with the following note: You need 2 triggers, 1 win and 1 lose trigger for the human player (set the human player as trigger owner).
Below is a simple example of how to create win/lose triggers.
Win-Trigger
1. Event: For example "7 House destroyed by anybody" (use main enemy as house).
2. Action: "1 Win game", use player house as house.
Lose-Trigger
1. Event: For example "7 House destroyed by anybody" (use player house as house).
2. Action: "2 Lose game", use player house as house.