Editor guide

Page 99

Example mission The player reads in his orders that he has to "hit-and-run this village". The second order, "destroy the ammunition truck", is still invisible because of the entry in the Init.sqs. If the village has been cleared of all enemy units, the first objective will be marked with a green check mark and the second target will become visible. To do this just set a trigger on the map right over the respective village. Conditions: Axis (a/b) 300, onActivation (the side which has to protect the village), and not present. The trigger will execute now when the side which protects the village is no longer alive ( not present). The necessary commands which are to be executed when the village is free of enemy units, have to be entered In the onActivation line. “Check target 1” and “make target 2 visible again” are a part of this command. It’s recommended to add a hint to the command to give some information to the player. So use following syntax: "1" ObjStatus "Done"; "2" ObjStatus "Visible"; hint "Missionsplan updated!" The user has to set a marker directly over the village on the map and name it "TargetX". The cross-hair will move to that marker if the player is clicking the link "This village" in the briefing. You can also check Chapter 2.13 to get further information about he necessary commands which are to be used in the briefing.html. <p> <a name="OBJ_1"></a> Capture <a href="marker:TargetX">this village</a>! </p> <hr> <p><a name="OBJ_2"></a> Destroy the ammunition Truck! </p> <hr>

The necessary entry in the Init.sqs, which is used hide the second mission target, needs to be defined as "2" ObjStatus "Hidden". The following are the different commands which are used for each mission status: Hidden Visible Active Done Failed 100

- The mission target will be hidden - The mission target will be visible again - The mission target is active - The mission target is done - The mission has been failed.


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.