- Joined
- Sep 16, 2013
- Messages
- 28
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hi there, I've been playing with a script that adds a night and day cycle to game. (https://docs.google.com/file/d/0BywhvOtY4_H9dGNFSTlWQlVEZ3M/edit) The script has the ability to run Common events at certain times in game.
I am trying to set it up so that a common event runs each night at Midnight and adds a counter to a variable. I then want to set up another common event to check that variable and set another variable with a string using a conditional branch, my hope is to use the counter to have a working moon phase calendar. That will update a variable with the current Moonphase as a string that can then be displayed by the Variable HUD script (http://niclas-thornqvist.se/rpg/scripts/ace/xs-variable-hud.txt)
I can't seem to figure out how to assign a string to a variable and how to get the Common event that adds to the ticker to run properly or how to get the Variable HUD to display the proper variable.
Any help would be appreciated.
I am trying to set it up so that a common event runs each night at Midnight and adds a counter to a variable. I then want to set up another common event to check that variable and set another variable with a string using a conditional branch, my hope is to use the counter to have a working moon phase calendar. That will update a variable with the current Moonphase as a string that can then be displayed by the Variable HUD script (http://niclas-thornqvist.se/rpg/scripts/ace/xs-variable-hud.txt)
I can't seem to figure out how to assign a string to a variable and how to get the Common event that adds to the ticker to run properly or how to get the Variable HUD to display the proper variable.
Any help would be appreciated.

