Call of Duty 4: Scripting Reference - Objective::Objective AdditionalCurrent

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


Objective_AdditionalCurrent( <objective_index>, <objective_index>, ... )

Module: Objective
SP Only

Summary:

Add additional objective(s) to the set of objectives currently being done. If none specified, there's no effect.Current objectives that are not specified are not affected by this call. Meant to be used when there are already current objective(s), but one or more additional objectives need to be made current in addition to the previously current objectives.


Call this on:

Example:

Objective_AdditionalCurrent( level.flakObjectiveID );

Required arguments:

  1. <objective_index> The ID of the objective to set current.


Optional arguments:

  1. <objective_index> Any number of additional IDs to set current.


Notes:

none