FryWalker Posted April 1, 2005 Report Share Posted April 1, 2005 Does anyone know what Function may be called at the end of a of a players turn? I guess some Function must be called as the units a player controls will check for bleeding at the end of the turn (just before the next players turn). Thanks guys Link to comment Share on other sites More sharing options...
damocles Posted April 10, 2005 Report Share Posted April 10, 2005 There's no function called at the end of a turn, but you can check for the very beginning of another players turn using OnStartTurn(playerID). So if you check for player 2's turn starting, then you know that player 1's turn has ended. The thing to watch out for though is that this function is also called when a player starts an interrupt turn. It's a good idea to keep track of whose turn it is by tracking when all the players have had a turn. It's a bit tricky, but it's all there is Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now