Trigger tutorial 3 (beginners)

Written by: Thalassicus
Modified by Matze
Creating & Using Triggers
A trigger is a cause-and-effect action for RAII or TS to perform while the user is playing a map. Each trigger has an event and an action associated with it. A simple trigger used for debugging (or just fun :-) will reveal the entire map.
To reveal the entire map for all players after 30 seconds of gameplay:
1) Under the edit menu at the top of the screen, select the trigger editor near the middle. A dialog box pops up.
2) Click on "Add Trigger" near the top of the dialog box. This will fill in many fields, and will default the name field to "New trigger".
3) Change the name of the trigger to "Reveal Entire Map".
4) Set the house to "Neutral"
5) Click on the "Events" tab near the middle of the dialog box.
6) Click on "New Event".
7) Change the "Event Type" (first text box from top) to "13 - Time elapsed".
8) Click on the "Time" parameter in the list.
9) Change the value to "30". This event will now fire after '30'sec of 'Time elapsed' after the scenario is started.
10) Click on the "Actions: tab near the middle of the dialog box.
11) Click on "New Action"
12) Change the action type to "16 - Reveal all map".
13) This action requires no parameters. The trigger will now activate after 30 seconds of gameplay have passed, and it will reveal the entire map for all players. Have fun with that one! :-)