View Full Version : Unit Conversion
Kingscrab
08-26-2005, 12:50 PM
SO here's another one. (might as well keep you guys busy with easy questions!)
Can you set a trigger that gives ownership of a certain unit to another player once it's hit point level falls to a certain point? (say... a third)
I need to preserve this effect for future units that might get wounded also...
Thanks!
- Kingscrab :)
Fronter
08-26-2005, 1:44 PM
If there is a way, then I don't know it, but if you have a unit that does spalsh damge, I.E. Firebat, and it attacks one of your units, you can make it to wear a Zergling will keep getting spawned under where your character is, and when it dies as much as you want, compared to unit health, you can switch.
That is what I do if I want to replace hurt units, it isn't really hard to do though, but as for real unit health damage, I don't know of any trigger that can be directly from Health Damage.
MidnightGladius
08-26-2005, 2:05 PM
EUD's used to be able to do this with no problem whatsoever. You could detect unit HP very easily. But we all know what happened to THAT...
Kingscrab
08-26-2005, 2:07 PM
Well basically, i need it to go like this:
Example:
P2 Zealot attacks P1 Marine...
Marine takes damage... gets reduced to 50% health and converts to P2 control.
MidnightGladius
08-26-2005, 2:55 PM
Not possible. At least, not now.
Kingscrab
08-26-2005, 3:19 PM
Not possible. At least, not now.
Uhg... lame... oh well. Time to get creative i guess. :shiftyl:
Fronter
08-26-2005, 4:22 PM
Yes, it is not possible for enemy units that do not do spalsh damage as of now... Hopefully Starcraft II will have that (Most likely it will)
But it is, like I said, very possible if the unit does spalsh (Firebats, Lurkers, Reavers, Siege Tank Mode, etc.) But is not really possible for the Zealot, because it does normal damage...
Aquarian
08-26-2005, 11:14 PM
What about letting P1's unit die then create a new unit for P2?
MidnightGladius
08-26-2005, 11:27 PM
You still couldn't detect the HP, though.
Aquarian
08-26-2005, 11:28 PM
Just put
Condition:
P2 kills blblabla
Action:
Create new unit for blablabla
DLKutzner
08-30-2005, 2:58 AM
Umm considering Im not good at triggers I think there is a way....
I'm Gussing this is a storyline effected Choice, well if is u can...
set when P1 Marine heath is 50% / set swirch 1 on and display message, I'll Join you.
Switch 1 is set / Give all units at Location over Marine to P2
This is a single marine we are talking about though right....I dont think its possible to do it 'en mass with out a ass load of Locations and Triggers.
Hope this helps....
set when P1 Marine heath is 50% / set swirch 1 on and display message, I'll Join you.
Switch 1 is set / Give all units at Location over Marine to P2
.
The part with "set when P1 Marine heath is 50%" is impossible, and the use of the switch is unnecessary.
Aquarian
08-30-2005, 5:27 AM
Give all units to P1 at location?That includes the units that are in full health also going to P2.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.