Call of Duty 4: Scripting Reference - AI::StartCoverArrival

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


StartCoverArrival(<yaw angle>)

Module: AI
SP Only

Summary:

Runs cover arrival animscript on an actor.


Call this on: <actor> An actor

Example:

soldier StartCoverArrival( pos, 45 );

Required arguments:

  1. <start pos> the offset to start the arrival animation from
  2. <yaw angles> the arrival angle


Optional arguments:

none


Notes:

none