Hi, I wondered if it was possible to be able to manipulative the turn speed number in scripting? I wanted the player to be able to set their own value for turn speed in the settings.
Thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Sure - it's all public, see the API reference for it here.
To access the active Player, and their turn speed:
If you want users to set this as an option, it's best to store this in a Global float Variable linked to Options data. Then when the game begins, apply it to the turnSpeed property as above.
For a tutorial on creating custom options data, see here.