In my map I have a trigger that periodically spawns a unit to attack you. Sometimes (very rarely) this unit will be invincible. The unit does not have the death prevention behavior, but the unit acts as if it does because it is able to take damage, but never die (hovers at 1hp and regens). I don't add a death prevention behavior to the unit ever, nor do I set it to invulnerable when it takes fatal damage, or anything like that. Has anyone experienced this bug and if so how did you fix it?
Do you ever add *any* behaviors to the unit at all? Every behavior has the fields necessary for death prevention, if set to the appropriate values.
The unit does have 3 behaviors but none of them are death prevention. There is no Damage Response Fatal or Handled, there is no reason for these creeps to be invulnerable other than the game bugging out.
See for yourself.
Oh and the other 2 abilities are identical with just a different Damage Response - Chance.
Anyone dare take on this bug? It's not serious because I can write a little piece of code that checks for these behaviors on created units and if the units have the behavior I can either remove the behavior or remove the unit, but it would be nice if I could get to the root of the problem! I think the behavior is bugging out and somehow changing values so that the behavior works as a Damage Response Fatal, but I am totally not sure.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my map I have a trigger that periodically spawns a unit to attack you. Sometimes (very rarely) this unit will be invincible. The unit does not have the death prevention behavior, but the unit acts as if it does because it is able to take damage, but never die (hovers at 1hp and regens). I don't add a death prevention behavior to the unit ever, nor do I set it to invulnerable when it takes fatal damage, or anything like that. Has anyone experienced this bug and if so how did you fix it?
@Rhadamant5186: Go
It's probably not a bug. It's hard to help you without the map.
@Rhadamant5186: Go
Do you ever add *any* behaviors to the unit at all? Every behavior has the fields necessary for death prevention, if set to the appropriate values.
The unit does have 3 behaviors but none of them are death prevention. There is no Damage Response Fatal or Handled, there is no reason for these creeps to be invulnerable other than the game bugging out.
See for yourself.
Oh and the other 2 abilities are identical with just a different Damage Response - Chance.
Anyone dare take on this bug? It's not serious because I can write a little piece of code that checks for these behaviors on created units and if the units have the behavior I can either remove the behavior or remove the unit, but it would be nice if I could get to the root of the problem! I think the behavior is bugging out and somehow changing values so that the behavior works as a Damage Response Fatal, but I am totally not sure.