Unit Stack Question

TheLopez

Deity
Joined
Jan 16, 2006
Messages
2,525
Location
Oregon
Does anyone know how to programatically bring a unit to the top of a unit stack?
 
TheLopez said:
Does anyone know how to programatically bring a unit to the top of a unit stack?
So as to make it the first unit in the combat order? I'm don't think it's possible, however I'm ready to be wrong.
 
Yep, basically make them visible at the top of the stack. There is an ugly hack, force select the unit wait about 0.1 secs and reselect the original unit. But like I said that is an ugly hack.
 
TheLopez said:
Yep, basically make them visible at the top of the stack. There is an ugly hack, force select the unit wait about 0.1 secs and reselect the original unit. But like I said that is an ugly hack.
That was going to be my suggestion. It'd only work for graphical purposes though.
 
The Great Apple said:
That was going to be my suggestion. It'd only work for graphical purposes though.

Yep, that's what I am looking for anyways. I tried it but it sort of works but not really. Basically, I select the unit but it cancels out the triggered animation of them either being killed or hurt.
 
Back
Top Bottom