I'm attempting to make a selection of units share health. I keep thinking of passive Create Healer effects or something, which cost and give life, but that wouldn't work, since the units would constantly be killing themselves and would probably lag the game like mad if enough units were constantly feeding each other life.
Another way I could implement what I want is by doing something like this. Search Area Effect > If Search Area found X number of units > Second Search Area. That would give me the same result, but I'm not sure that's possible via Data Editing (I could use triggers, but want to see if this is possible via Data). Is there a validator that can check the number of units found via Search Area effects?
But is there a validator that returns the number of units found with a Search Area? If it's nine then do X. If it's 8 do Y, etc; I actually managed what I was trying to do through a very convoluted method that required a lot of buffs. For future reference, I'd still like to know if the above is possible ^.
I'd also like ot add on another question: Is it possible to show an invulnerable unit's health? I don't want to make the unit invisible or attach a validator to every enemy weapon. I simply want health to appear on a unit that will never be attacked by an enemy.
I tried making the unit Untargetable, but strangely, that didn't work. IT's a real shame, since it's exactly what I want.
There is sort of a validator to find the number of units in an area. It's called Enumerate Area.
As for showing health on an invincible unit, that's not possible. However, the best you COULD do is make the unit functionally invincible, but not literally invincible. You could make it untargetable (but vulnerable) and give it a permanent behavior that makes it take zero damage (in case of spells and splash, and such).
Yes and no. A long, long time ago I managed to create a hero that controlled a squad in WC3 and I always wanted to give it a shot with the data editor. WTE #2 reminded me, so I thought it was a good time to try. WTE is a trigger excercise...I wouldn't data that :P. It would defeat the prupose. However, I AM working on a killer Data/Trigger system for squad based gameplay. I've only been working on it for one day, but it's already perfect except for four bugs (three of which may be impossible to fix). It's going well though :).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm attempting to make a selection of units share health. I keep thinking of passive Create Healer effects or something, which cost and give life, but that wouldn't work, since the units would constantly be killing themselves and would probably lag the game like mad if enough units were constantly feeding each other life.
Another way I could implement what I want is by doing something like this. Search Area Effect > If Search Area found X number of units > Second Search Area. That would give me the same result, but I'm not sure that's possible via Data Editing (I could use triggers, but want to see if this is possible via Data). Is there a validator that can check the number of units found via Search Area effects?
@wingednosering: Go
I think there's a switch effect based on several validator, for eg switch search count for what you want.
But is there a validator that returns the number of units found with a Search Area? If it's nine then do X. If it's 8 do Y, etc; I actually managed what I was trying to do through a very convoluted method that required a lot of buffs. For future reference, I'd still like to know if the above is possible ^.
I'd also like ot add on another question: Is it possible to show an invulnerable unit's health? I don't want to make the unit invisible or attach a validator to every enemy weapon. I simply want health to appear on a unit that will never be attacked by an enemy.
I tried making the unit Untargetable, but strangely, that didn't work. IT's a real shame, since it's exactly what I want.
@wingednosering: Go
Wouldn't it be better to just use triggers?
@tFighterPilot: Go
I could, but it's a personal chalenge to do this via data :P
There is sort of a validator to find the number of units in an area. It's called Enumerate Area.
As for showing health on an invincible unit, that's not possible. However, the best you COULD do is make the unit functionally invincible, but not literally invincible. You could make it untargetable (but vulnerable) and give it a permanent behavior that makes it take zero damage (in case of spells and splash, and such).
Out of curiosity, would this be for WTE #2?
Yes and no. A long, long time ago I managed to create a hero that controlled a squad in WC3 and I always wanted to give it a shot with the data editor. WTE #2 reminded me, so I thought it was a good time to try. WTE is a trigger excercise...I wouldn't data that :P. It would defeat the prupose. However, I AM working on a killer Data/Trigger system for squad based gameplay. I've only been working on it for one day, but it's already perfect except for four bugs (three of which may be impossible to fix). It's going well though :).