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

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


SetTargetYaw( <yaw> )

Module: Vehicles

Summary:

Set the target yaw direction for this vehicle. Goal yaw has priority over target yaw.


Call this on: a vehicle

Example:

level.flak1 SetTargetYaw( vec1 );

Required arguments:

  1. <yaw> The yaw direction of the target


Optional arguments:

none


Notes:

none