
The Turns class provides basic turn management functionality, but the end turn button is often not well positioned for the game, and usually doesn’t fit with game scenario.
I would like to have the ability to provide a custom button to replace the built in button. Failing that, just allow Turns to be enabled without displaying a buitton at all; the script writer can provide their own UI while taking advantage of the rest of Turns functionality. I currently work around this with a this snippet…
funciton playAlert(playerColor)
Turns.turn_color = playerColor
Turns.enable = true
– must allow time for the sound to play or the disable fails (TTS V2)
Wait.time(function() Turns.enable = false end, 0.2)
end