Yes, it's me again. I feel like, the SC2 section in the hive consists of me asking questions and Dr Super Good answering.
So this one is special, couldn't find anything like that.
I want a neutral Sentry, both teams can capture the Sentry by "destroying" it, however it does not just "die".
My goal is to prevent it from dying after dropping to 0 HP and just change the ownership while going back to full HP/Shields. Right now I've temporary solved it with this:
because a) I want them to bring it down to 0 HP b) If someone does more than ~60 damage in one hit in an unfortunate situation where the Sentry has 61 hp, it will just die... that's not supposed to happen. Those Sentries should be indestructible but players still have to attack to capture it.
Any Idea, Dr Super Good?
So this one is special, couldn't find anything like that.
I want a neutral Sentry, both teams can capture the Sentry by "destroying" it, however it does not just "die".
My goal is to prevent it from dying after dropping to 0 HP and just change the ownership while going back to full HP/Shields. Right now I've temporary solved it with this:
-
Sentry Speed
-
Events
- Unit - Any Unit is attacked
- Local Variables
-
Conditions
- (Triggering unit) == Celerity Sentry [61.50, 77.50]
- ((Triggering unit) Life (Current)) <= 60.0
-
Actions
- Unit - Change ownership of (Triggering unit) to player (Owner of (Attacking Unit)) and Change Color
- Variable - Set Celerity Sentry = (Triggering unit)
- Unit - Set (Triggering unit) Life to 700.0
- Unit - Set (Triggering unit) Shields to 300.0
-
Events
because a) I want them to bring it down to 0 HP b) If someone does more than ~60 damage in one hit in an unfortunate situation where the Sentry has 61 hp, it will just die... that's not supposed to happen. Those Sentries should be indestructible but players still have to attack to capture it.
Any Idea, Dr Super Good?
Last edited: