Call of Duty 4: Scripting Reference - Vehicles::SetTurretTargetEnt

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


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

Module: Vehicles

Summary:

Set the target entity for this vehicle turret.


Call this on: a vehicle

Example:

eFlak88 SetTurretTargetEnt( eFlaktarget, eFlaktarget.origin );

Required arguments:

  1. <target entity> The target.


Optional arguments:

  1. <target offset> The target offset.


Notes:

none