- Joined
- Jul 22, 2015
- Messages
- 3,485
It has been an extremely long time since I made a thread here, so I am pretty desperate xD
The Death trigger is supposed to run if a unit in InfectedGroup dies. However, debug messages reveal that the trigger is never ran, regardless of TempUnit dying. For whatever reason, it seems impossible to check if a unit in a Unit Group function is dead. I have tried IsUnitAlive = false, and even a real comparison of 0.405 , but the trigger is still not running.
Why will Then - Actions not run when I have the conditional statement IsUnitDead = true? On a side note, checking if the unit is alive works perfectly fine.
|
The Death trigger is supposed to run if a unit in InfectedGroup dies. However, debug messages reveal that the trigger is never ran, regardless of TempUnit dying. For whatever reason, it seems impossible to check if a unit in a Unit Group function is dead. I have tried IsUnitAlive = false, and even a real comparison of 0.405 , but the trigger is still not running.
Why will Then - Actions not run when I have the conditional statement IsUnitDead = true? On a side note, checking if the unit is alive works perfectly fine.