OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lancer512 on 06 Nov 2002, 01:07:30

Title: Objectives in briefing
Post by: Lancer512 on 06 Nov 2002, 01:07:30
I'm trying to finish a mission with multiple objectives.

Each Objective is defined with a trigger set to "switch" by the game logic and the "On Activation" field looks like this: "1" objStatus "DONE"; Target1Dead=true;

However, I can't find anywhere how to get the objectives work in the briefing. In the Campaign, each completed objective is checked with a checkmark. How do I do this?

Also, There are 6 different "end" triggers. Is this for 6 separate possible winning scenarios, like depending on how good you've been?
Title: Re:Objectives in briefing
Post by: Black_Feather on 06 Nov 2002, 01:19:02
in your briefing.html you need to put this to get your objectives to work

<p><a name = "OBJ_1"></a>A bit of text.</p>
<hr>

and yeah you can use end1 - end6 for that, you can also have a different debriefing depending on the end trigger activated.
Title: Re:Objectives in briefing
Post by: Lancer512 on 06 Nov 2002, 02:48:23
Thanks! Now I see how this works...