[SUPPORT] Advanced Turn Based Tile Toolkit

Hi ,

I have setup a trap system where if a unit walks over a trap during movement, it hurts the unit. However, if the unit dies during its movement, the game doesn’t know how to continue and after leaving the game I get a lot of errors. If it is a player unit that dies, I have a button setup that will allows me to skip that unit’s turn, thus allowing the game to continue. However, I cannot use this same approach for the enemy units, for obvious reasons.

Any suggestions on how to remove a unit during the middle of its move without getting errors because the unit is no longer there and making sure the game automatically removes it from the initiative order and continues to the next turn?