AliGrant.com
 
Valid XHTML 1.0!

Valid CSS!

Powered by PHP

Get FireFox

1&1 Internet


This content is archived from old gaming web-sites. It remains here for posterity and is no longer updated.
Operation Flashpoint

Objectives

Objectives are defined in the mission briefing. These can be hidden, failed and completed. When they are changed a different icon will appear in the briefing/map. This is a vital part of any good mission as players need to know what they have completed and what's left.

Creating

Find the objective section in your briefing and add using a <hr> to seperate each one. The name OBJ_1 needs to be incrimented for each objective, OBJ_2, OBJ_2 etc. For example:

<p><a name="OBJ_1"></a>Destroy the target</p>
<hr>


The best way to update objectives is with a trigger. Entering the code into the activation field will allow you to update objectives when things happen in game.

To update an objective you have to use the 'ObjStatus' command. As with most scripting commands in OFP you start with the object you want to change and end with the variable. So for Objective #1 to change to done, you would put the following into the trigger activation field:

"1" ObjStatus "DONE"

Change the number for the respective objective, and the option can be one of the following:

DONE - Marked objective as complete (tick on the briefing)
FAILED - Marked objective as incomplete (cross on the briefing)
HIDDEN - Hides the objective from the briefing
ACTIVE - Shows the objective on the briefing

As you can see from the above, you can hide objectives on the briefing. This allows you for surprise changes in a mission calling to divert your players. Or allow you to have mulitple out-comes with different objectives being shown and completed.