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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 00:03, 31 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=SetFlashbangImmunity( <immune> ) |Module=AI |Available=SP Only |Summary=Sets whether an actor is succeptable to flashbangs. |Call_on=<actor> An acto...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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