I'm prolly jus really tired and I have done this trigger before (been a long time since I have used WE), and I need a trigger that checks the units health before it changes owners.
such as;
Event: A unit is attacked
Condition: Attacked unit is equal to my unit
Action: If/then/else: integer comparison (this is what im stuck on, need to check health of unit) then change ownership of unit, set health of (attacked unit) to 100% then do nothing.
such as;
Event: A unit is attacked
Condition: Attacked unit is equal to my unit
Action: If/then/else: integer comparison (this is what im stuck on, need to check health of unit) then change ownership of unit, set health of (attacked unit) to 100% then do nothing.