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

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


IsTurretActive(<turret>)

Module: AI
SP Only

Summary:

Determine whether a given turret is being used by anybody including players and NPCs.


Call this on:

Example:

if ( IsTurretActive( turret ) )

Required arguments:

  1. <turret> which turret to check.


Optional arguments:

none


Notes:

none