Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
you can do it like this so you don´t have to pick units every second
use the first trigger only if you have <Your Unit Type> in beginning of game
PICK EVERY UNIT OF TYPE
Events
Map initialization
Conditions
Actions
Set UNITGROUP = (Units of type <Your Unit Type>)
Unit Group - Pick every unit in UNITGROUP and do (Actions)
Loop - Actions
Trigger - Add to HEALTH LEASS THAN 50% <gen> the event (Unit - (Picked unit)'s life becomes Less than ((Percentage life of (Picked unit)) - 50.00))
Custom script: call DestroyGroup(udg_UNITGROUP)
Trigger - Turn off (This trigger)
IF NEW UNIT OF TYPE ENTERS (if you train/build new unit)
Events
Unit - A unit enters (Entire map)
Conditions
(Unit-type of (Entering unit)) Equal to <Your Unit Type>
Actions
Trigger - Add to HEALTH LEASS THAN 50% <gen> the event (Unit - (Entering unit)'s life becomes Less than ((Percentage life of (Entering unit)) - 50.00))
HEALTH LEASS THAN 50%
Events
Conditions
Actions
-------- whatever you want---------(use triggering unit to refer to the damaged unit) --------
Well i fixed it now.. I got one more questions for you hehe... How do i make units rescuable i know kind of a newbie question but i never worked with that kind of thing.
Well, you can do it by triggers witch is harder, and I cant post em right now.
Or, you can go to game settings. There you can select that 1 of 12 players is rescueable. So every unit that belongs to him will be rescued by another player when a unit comes close to rescueable unit.
But this requires that you separate 1 player spot unable to be played. So cant be used in maps for 12 players.
I am not in pozicion to make trigger version right now. Not at hmme
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.