Call of Duty 4: Scripting Reference - Objective::Target Set

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


Target_Set( <target entity>, <target offset> )

Module: Objective
SP Only

Summary:

Adds a new target to draw on the hud


Call this on:

Example:

Target_Set( enemy_chopper );

Required arguments:

  1. <target entity> The entity that is the target


Optional arguments:

  1. <target offset> The offset of the target position from the entity's origin


Notes:

none