EffectUtils

Utilities View source
EffectUtils

Source on GitHub

Extension Functions

effect.destrAfter

public function effect.destrAfter(real time)

remove effect after “time” expires

effect.destrHiddenAfter

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!

effect.destrHidden

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!