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

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


SetTurretTargetVec( <target position> )

Module: Vehicles

Summary:

Set the target position for this vehicle turret.


Call this on: a vehicle

Example:

level.flak1 SetTurretTargetVec( vec1 );

Required arguments:

  1. <target position> The position of the target


Optional arguments:

none


Notes:

none