Making unit continue last order when interrupted

Discussion in 'World Editor Help' started by Hadezown, May 3, 2018.

  1. Hadezown

    Hadezown Regular

    +5 / 0 / -0
    In a tower defense for example, if you have units moving through a maze and you stun one of them, it will continue to carry out its previous order which was moving to a target location.

    If you polymorph a unit however, it stands still afterwards. Is there anyway you can restore the unit's previous actions in this case?

    My initial plan was to store units and points in arrays and recall them after the unit is polymorphed, but having to do that for hundreds of units on the map would probably slow down the game.

Share This Page