Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
As noted by others here, Events.ActivePlayerTurnEnd actually fires after the next player's turn starts. Is there an event that really fires before the player's turn is over, say when the human presses the End Turn button?
One strange thing is that when ActivePlayerTurnEnd fires (which is really the next player's turn), unit:MovesLeft() now returns 120 for units that I know used up all their movement (though if I try to move them, they don't move). It's causing me all sorts of problems and I really just need to catch the human player turn before it is really over.
One strange thing is that when ActivePlayerTurnEnd fires (which is really the next player's turn), unit:MovesLeft() now returns 120 for units that I know used up all their movement (though if I try to move them, they don't move). It's causing me all sorts of problems and I really just need to catch the human player turn before it is really over.