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

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


SetRunToPos( <position> )

Module: AI
SP Only

Summary:

Override where the actor should run to. This overrides the goal pos and the claimed node.


Call this on: <actor> An actor

Example:

 self SetRunToPos( pos );

Required arguments:

  1. <position> The position for the actor to run to.


Optional arguments:

none


Notes:

none