CivilizationAce
Warlord
- Joined
- Jan 17, 2017
- Messages
- 240
I have added event consumption to my game that creates a new unit.
The problem is that I'd rather that the unit can't move until the next turn.
One reason for this is because of inconsistency — If the unit is created as the last move of the turn the turn ends without the player getting to move it (at least with auto-end-turn on). Otherwise the player does get to move it.
The other reason is about realism. My new unit is meant to require some training.
So does anyone know a way in LUA to exhaust a unit i.e. to get rid of its movement points for the turn?
The problem is that I'd rather that the unit can't move until the next turn.
One reason for this is because of inconsistency — If the unit is created as the last move of the turn the turn ends without the player getting to move it (at least with auto-end-turn on). Otherwise the player does get to move it.
The other reason is about realism. My new unit is meant to require some training.
So does anyone know a way in LUA to exhaust a unit i.e. to get rid of its movement points for the turn?