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

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


SetGoalYaw( <yaw> )

Module: Vehicles

Summary:

Set the goal yaw direction for this vehicle. Goal yaw is ignored if vehicle doesn't stop at goal. Lookat entity has priority over goal yaw


Call this on: a vehicle

Example:

level.flak1 SetGoalYaw( vec1 );

Required arguments:

  1. <yaw> The yaw direction of the target


Optional arguments:

none


Notes:

none