EffectUtils

Utilities View source
EffectUtils

Functions and constants

public function effect.destrAfter(real time)

remove effect after “time” expires

public function effect.destrHiddenAfter(real time)

After “time”, move effect to invisible part of map before removing it (which plays death animation). Does not work on effects attached to units!

public function effect.destrHidden()

Move effect to invisible part of map before removing it (which plays death animation). Does not work on effects attached to units!