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

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


Objective_Position( <objective_number>, <position> )

Module: Objective

Summary:

Set the position of an objective, assumed to be the zeroth position, must use objective_additionalposition to set a different position index


Call this on:

Example:

Objective_Position( 4, get_objective_position( "plant_boilerbomb_trigger" ) );

Required arguments:

  1. <objective_number> The ID of the objective to alter
  2. <position> The position of the objective


Optional arguments:

none


Notes:

none