Jump to content

'End of Turn' trigger


FryWalker

Recommended Posts

  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...