OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Destroyer on 12 Jun 2006, 20:36:43

Title: Question about briefing.
Post 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
Title: Re: Question about briefing.
Post by: bedges on 12 Jun 2006, 20:59:09
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

Code: [Select]
not (alive officer1) and not (alive officer2) and not (alive officer3)
and in the 'on activation' box type

Code: [Select]
"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.
Title: Re: Question about briefing.
Post by: Destroyer on 14 Jun 2006, 18:53:47
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.
Title: Re: Question about briefing.
Post by: bedges on 14 Jun 2006, 20:07:57
i have put together a missionette to illustrate the method. see attached file.

[attachment deleted by admin]