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

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


Target_IsTarget( <entity> )

Module: Objective
SP Only

Summary:

Returns whether an entity has been marked as a target


Call this on:

Example:

if ( Target_IsTarget( foundEnt ) ) ...

Required arguments:

  1. <entity> The entity to check


Optional arguments:

none


Notes:

none