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

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


AimAtPos( <aim at point> )

Module: AI
SP Only

Summary:

Sets the actor to aim at the given point. Returns the blend time of the aim


Call this on: <actor> An actor

Example:

aimTime = self AimAtPos (targetPoint);

Required arguments:

  1. <aim at point> The point to aim at.


Optional arguments:

none


Notes:

none