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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 23:22, 30 July 2009 by CoDEmanX (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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