Hi, i read several tutorial and i looked for topic which can help me to finish my mission.
I found this interesting.
http://www.ofpec.com/forum/index.php?topic=18563.0My objectives respect this three conditions
- is something the player must do to complete the mission
- normally has a line in the Briefing which gets a green tick when the player has done it
- is normally associated with one or more triggers in the mission that must be fired for the Objective to be completedI don't understand how i put an objective done.
In my mission (
http://www.ofpec.com/forum/index.php?topic=32080.0) i have to kill all russians soldiers in their base camp and i must destroy their HQ with explosive.
Objectives setted are three (Look directly to code of my briefing)
<!---------------------------------------------------->
<!-- Objectives -->
<!---------------------------------------------------->
<!-- Objective 1 -->
<p><a name="obj_1"></a>
<!-- [OBJ_1] -->
Kill all enemy soldiers in their <a href="marker:marker1">Base camp</a>
<!-- [END] -->
</p><hr>
<!-- Objective 2 -->
<p><a name="obj_2"></a>
<!-- [OBJ_2] -->
Destroy <a href="marker:marker4">Weapons chace</a>
<!-- [END] -->
</p><hr>
<!-- Objective 3 -->
<p><a name="obj_3"></a>
<!-- [OBJ_3] -->
Destroy <a href="marker:marker1">enemy camp.</a>
<!-- [END] -->
</p><hr>
So, kill all soldiers (How to set it done?Now i'm using a trigger when all russians are all dead (not present), mission finish)
Destroy weapons chace (I think code is similitar to the one used to set done "kill all soldiers", i know is something which "alive" "not alive")
Destroy all camp
Maybe i'm a bit confusing so ask me everything you need to help me