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

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


Shoot(<accuracy modifier>, <shoot override vector>)

Module: AI
SP Only

Summary:

Makes this actor shoot.


Call this on: <actor> An actor

Example:

 guy shoot();

Required arguments:

none


Optional arguments:

  1. <accuracy modifier> (floating point number)
  2. <shoot override vector> (vector) The shoot vector


Notes:

none