Triggers in general tutorial
Single player maps always contain Triggers. In this tutorial weŽll create a trigger that will show the whole map to the player 20 time units after the human house is attacked.
I assume that the human player is GDI (doesnŽt really matter, for RA2 it would be American) and that your map and the houses are already set up.
To reach the trigger editor, click on Edit->Trigger editor. Click on "New trigger" to create a new trigger. YouŽll see that a trigger called "New trigger" is selected now. To make things easier, weŽll now rename this trigger to a senseful term. Enter "Player attacked -> Show map" as name in the trigger options tab.
Now click on "Events". The events dialog will appear, with no events listed, as we havenŽt created any yet. Click on "New event". Event 0 will automatically be selected. Now you have to select the event type. We use "6 House attacked by anybody". An event description appears, and the parameter list contains one parameter, "House". Select "House" (it should already be selected though) and then have a look at the parameter value. ItŽs automatically set to "0 GDI" (or "0 Americans" for RA2). WeŽll leave it as it is, although you can for example set it to "1 Nod" (that will make the trigger fire when Nod is attacked by anybody, including the player!). If we leave the trigger this way, it will fire immeadiatly after GDI/America has been attacked, but we want the game to wait 20 time units. To do this, again click on "New event". Select "13 Time elapsed", and enter 20 as parameter value for the Time parameter.
This trigger wonŽt do anything yet, as we havenŽt yet set up any action yet. To change this, click on "Actions". This dialog works almost exactly as the events dialog. Click on "New action". Now select "16 Reveal all map" as action type. Enter 60 as duration parameter.
Save your map (if you save it as GDI1a.map/ALL01t.MAP it will be used as first standard GDI/Allied mission of the campaign). Look to the singleplayer topic for more information about how to play singleplayer missions.