SetFlashBanged( <flashed>, <strength> )

Module: AI
SP Only


Sets whether an actor is under a flashbang effect.

Call this on:

<actor> An actor


self SetFlashBanged( true, 0.8 )

Required Args:

  • 1 : <flashed> Whether or not the actor is under the affect of a flashbang.

Optional Args

  • 1 : <strength> If actor is flashed, how severely they were initially affected. Between 0.0 and 1.0 (full strength).