Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Can a dead unit...
Can a dead unit...
09-01-2007, 02:37 AM
#1
darkwulfv
...Be used in
JASS:
UnitDamageTarget
(
...
)
as the damaging unit? I ask this because I've got a damage over time thing, and if the caster dies, will the target still be damaged if the caster was the one doing the damage?
09-01-2007, 04:52 AM
#2
botanic
that should work just fine so long as the unit is not removed via a trigger or the decay delay.
09-01-2007, 05:14 AM
#3
DioD
you may pass null units or unexisting units, but this will give you no bounty\exp
09-01-2007, 11:11 AM
#4
darkwulfv
Ok, that works. Just as long as the unit is damaged.