OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Destroyer on 12 Jun 2006, 20:36:43
-
Hi guys! 8) IÂ'm new here so i want to say hello to all! ;D
I have a question about the briefing.
If i make a mission and its ready, then i going make the briefing. I know everything but one thing... If i need to.. uhmm.. kill 3 High-ranked offcers that have a meeting, and then i killed them. How on the briefing can appear then that that objective is completed? Maybe you guys donÂ't understand because iÂ'm not good in english. If someone understand then please post it on this topic.
Thanks! ;)
Destroyer
-
okay. objectives are controlled using the objstatus command (http://www.ofpec.com/COMREF/index.php?action=list&letter=n#objStatus).
as you can see the objstatus can be "hidden", "active", "failed" or "done".
set up a trigger in the mission, doesn't need to have any size, but in the 'condition' box type
not (alive officer1) and not (alive officer2) and not (alive officer3)
and in the 'on activation' box type
"n" objstatus "done"
where n is the objective number from your briefing.
now when all three officers are dead, the related objective in the briefing will have a green tick next to it.
-
It dont work. i typed in what you did but it dont work. Maybe i donÂ't need to typ not (alive officer1) and not...... Typ in what i really need to typ in.
-
i have put together a missionette to illustrate the method. see attached file.
[attachment deleted by admin]