Is there a way, through a behavior, to make a unit invulnerable? I have an ability that I want to make a hero unit invulnerable for 10 seconds. What I did was set the Damage response so that all incoming damage of 50,000 or less is negated. I also put a validator in there so that if the player decides to move during this invulnerable state it disables the behavior, BUT what happens now is that when the behavior is activated and someone attacks the unit it moves the unit and disables the behavior. There must be a better way. Anyone know?
to make them invulnerable? yeahy, make an efect that applies a behavior, make the behavior duration however long you want, then change the 'modifications+' field, then the behavior tab of that field, the the state flags box, make 'invulnerable' to "enabled" vioala
Is there a way, through a behavior, to make a unit invulnerable? I have an ability that I want to make a hero unit invulnerable for 10 seconds. What I did was set the Damage response so that all incoming damage of 50,000 or less is negated. I also put a validator in there so that if the player decides to move during this invulnerable state it disables the behavior, BUT what happens now is that when the behavior is activated and someone attacks the unit it moves the unit and disables the behavior. There must be a better way. Anyone know?
@Etravex: Go
to make them invulnerable? yeahy, make an efect that applies a behavior, make the behavior duration however long you want, then change the 'modifications+' field, then the behavior tab of that field, the the state flags box, make 'invulnerable' to "enabled" vioala
@ezbeats: Go
on this same behavaior you can check 'supress movement' or set the 'movement maximum' to 0 if you want to change the movement as well.
thanks man, dunno what happened to the OP but this helped me a lot!