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

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


Objective_String( <objective_number>, <string>, ... )

Module: Objective
SP Only

Summary:

Set the description string for an objective


Call this on:

Example:

Objective_String( index, &"SCRIPT_OBJ_DESTROYFLAKPANZERS", level.flaks_remaining );

Required arguments:

  1. <objective_number> The ID of the objective to alter
  2. <string> One or more (localised) objective strings


Optional arguments:

none


Notes:

none