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

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


Target_StartReticleLockOn( <target entity>, <duration> )

Module: Objective
SP Only

Summary:

Begins the lock-on sequence for the target on the hud. This affects the animation of the vehicle reticle.


Call this on:

Example:

Target_StartReticleLockOn( enemy_chopper, 4 );

Required arguments:

  1. <target entity> The entity that is the target
  2. <duration> The amount of time between now and fully locked-on, in seconds.


Optional arguments:

none


Notes:

none