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

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


Target_SetAttackMode( <target entity>, <mode name> )

Module: Objective
SP Only

Summary:

Sets how missiles and rockets should approach the target.


Call this on:

Example:

Target_SetAttackMode( enemy_tank, "top" );

Required arguments:

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


Optional arguments:

none


Notes:

none