OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bontz07 on 24 Sep 2010, 19:18:25

Title: Mission objectives
Post by: Bontz07 on 24 Sep 2010, 19:18:25
Hi.

I want to know, how to do mission objectives. So, for 1st objective I want to destroy a tank. I gave for tank name tank1. So, then I make trigger, and put in con. line: not alive tank1 , and on act. line: "1" objstatus "done". Do I need to write anything else to lines? I didn't get this working. So little bit help needed.

I don't have very good english, but I hope you understand what I mean.  :P
Title: Re: Mission objectives
Post by: RKurtzDmitriyev on 24 Sep 2010, 22:34:31
It sounds like you're doing the right thing with the trigger. Did you make an Objective 1 in your briefing.html file?

Code: [Select]
<p><a name = "OBJ_1"></a>Destroy the tank.
</p>
<hr>
Title: Re: Mission objectives
Post by: Bontz07 on 25 Sep 2010, 10:51:44
No, I didn't. How do I do HTML files? Do I need some program or what?
Title: Re: Mission objectives
Post by: Krieg on 25 Sep 2010, 11:05:44
Whilst technically you could still do it in Notepad or similar text editor, I'd recommend using Chris' OFP Script Editor (http://www.ofpec.com/ed_depot/index.php?action=details&id=151&game=ArmA). In it you can easily create briefings, overviews, etc.

For further info on briefing/overview editing I'd recommend a sweep through the Editor's Depot. There are some quite good tutorials on the subject.
Title: Re: Mission objectives
Post by: Bontz07 on 25 Sep 2010, 12:34:02
Thank you for information.