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

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


Objective_Team( <objective_number>, <team> )

Module: Objective
MP Only

Summary:

Sets the team that the objective is for. Allows having different objectives for each team


Call this on:

Example:

Objective_Team( 0, "allies" );

Required arguments:

  1. <objective_number> The ID of the objective to alter
  2. <team> The team that the objective is for. Valid entries are 'allies', 'axis', or 'none'


Optional arguments:

none


Notes:

none