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

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


SetFlashbangImmunity( <immune> )

Module: AI
SP Only

Summary:

Sets whether an actor is succeptable to flashbangs.


Call this on: <actor> An actor

Example:

level.suicideguy SetFlashbangImmunity( true )

Required arguments:

  1. <immune> If the actor can be affected by flashbangs.


Optional arguments:

none


Notes:

none