I'm creating a world domination map, similar to The Alternate Future in WC3.
I have created a custom unit, named City, and the idea is to attack cities to claim them.
I've been searching for hours and cannot create a trigger that will change the ownership of a 'City' once it's HP has reached a % or certain amount.
I would hope to get a trigger that's very general and small, such as "Any unit is attacked" "Comparison: Unit is a City" "Hp reaches (%/amount)" "Change ownership of (Triggering Unit) to (Owner of (Attacking Unit))"
I'm creating a world domination map, similar to The Alternate Future in WC3.
I have created a custom unit, named City, and the idea is to attack cities to claim them.
I've been searching for hours and cannot create a trigger that will change the ownership of a 'City' once it's HP has reached a % or certain amount.
I would hope to get a trigger that's very general and small, such as "Any unit is attacked" "Comparison: Unit is a City" "Hp reaches (%/amount)" "Change ownership of (Triggering Unit) to (Owner of (Attacking Unit))"
Or something along that line.
I've been having no success. Any help?