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

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


Target_SetJavelinOnly( <target entity>, <true/false> )

Module: Objective
SP Only

Summary:

Target will only draw on player's hud when they are looking through the Javelin-weapon's site.


Call this on:

Example:

Target_SetJavelinOnly( enemy_tank, true );

Required arguments:

  1. <target entity> The entity that is the target
  2. <mode name> "top" or "direct"


Optional arguments:

none


Notes:

none