Trigger Analysis by JJ86 (8/11/04)
I am going to break down and analyze the triggers that are found in Mission 1 of the campaign so that mappers can get a good idea of how they work and are used. Brahmin Wood is the first game play in the game so there are a lot of campaign variable initializations. It is a standard assault mission where you have to free the village from raiders, kill Horus - the Raider leader and rescue some captured villagers. Outside of the captured village you will encounter the Elder Charon and the Shaman Hawkeye. There are several ways to approach the entire battle and some ways will give you a few different results. Here is the complete list of triggers used in the mission accompanied by notes by me in red italics.
Basically a trigger is a script where a "condition" has to be met before an "action" can happen. As long as the condition is true, everything in the action will follow. The order of the actions isn't too important because the speed with which they are happening is very fast. That is unless you place a blocking action to order one action before another. A lot of times you want to store information that happens at the start of the game so that you can present it later in the game. Then you use variables to store that information so it can be used to give a specific debriefing at the mission end.