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

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


Objective_OnEntity( <objective_number>, <entity> )

Module: Objective
MP Only

Summary:

Sets the objective to get its position from an entity.


Call this on:

Example:


Required arguments:

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


Optional arguments:

none


Notes:

none