Hi there, I can't find any action which would cause a unit to cancel. I've tried Stop, but that didn't work.
To explain; I'm making a risk-type map and players can raze villages that they're about to loose. The razing process is mechanically an upgrade to the razed unit. The razed unit can then upgrade back into the village unit for a cost.
If someone takes over the village while it's being razed (At the moment the process takes 30sec) i want the raze process to be aborted. Ideally, any units being trained or qued to train should also be aborted before ownership changes so the player losing the village will get his money back and NOT train units for the enemy, lol.
I just need a few lines in the action event to throw into my ownership changing trigger.
To explain; I'm making a risk-type map and players can raze villages that they're about to loose. The razing process is mechanically an upgrade to the razed unit. The razed unit can then upgrade back into the village unit for a cost.
If someone takes over the village while it's being razed (At the moment the process takes 30sec) i want the raze process to be aborted. Ideally, any units being trained or qued to train should also be aborted before ownership changes so the player losing the village will get his money back and NOT train units for the enemy, lol.
I just need a few lines in the action event to throw into my ownership changing trigger.