darkace77450
Member
Im trying to implement a day/night system for my game strictly using events, but Ive hit a snag. What I had planned to do was sprinkle events all over the place in my game and have them activated by Player Touch. This would then add 1 to a Variable Im calling Time of Day. Each of these events would have a separate page for every time of day and on each page is an event changing the color of the map to correspond to the time of day.
Each page is supposed to be triggered when the variable is at or above a certain value. The problem is when my first Time of Day page is activated none of the other pages will activate, so I wind up stuck in perpetual dawn. Sadly Im as inept with variables as I am with scripting (I dont even have a clue how to do something as simple and basic as a coin toss as I dont know how to use variable so create a random outcome :s).
After I get this part hammered out Id like to make it so that there is only a slight possibility that the activated event will add 1 to the Time of Day variable, but I'll have to figure out how to use variables to select a random number (if this is even possible)
Any help you guys could offer this humble variable/scripting noob would be greatly appreciated and of course credit will be given. Im using the default system by the way. And if this cant be done without scripts : shudder : then let me know and Ill request this to be moved. Thanks.
darkace77450
Each page is supposed to be triggered when the variable is at or above a certain value. The problem is when my first Time of Day page is activated none of the other pages will activate, so I wind up stuck in perpetual dawn. Sadly Im as inept with variables as I am with scripting (I dont even have a clue how to do something as simple and basic as a coin toss as I dont know how to use variable so create a random outcome :s).
After I get this part hammered out Id like to make it so that there is only a slight possibility that the activated event will add 1 to the Time of Day variable, but I'll have to figure out how to use variables to select a random number (if this is even possible)
Any help you guys could offer this humble variable/scripting noob would be greatly appreciated and of course credit will be given. Im using the default system by the way. And if this cant be done without scripts : shudder : then let me know and Ill request this to be moved. Thanks.
darkace77450