ok so I am attempting to create an event that gives an item and after a while will refresh. I would really like for the event to reference my games time system. so for example, if the item is received in the morning it would be available again the next morning. Is there a script command to make the event record the variable from the time parallel event so that once the appropriate amount of time has passed the self-switch would turn off regardless of what map the player is on?
is this a possibility? (newbie doesn't know)
Learning JavascriptThere is a link in my signature about how to time events properly. It was originally meant for VX Ace (with ruby calls), but the logic is the same for every language. You can take a look at it and handle variables using JavaScript instead, the only difference lies within how you handle those array variables, but MV Script Call collection already has an example of how to handle arrays using script calls. Everything else is just push/pop/shift/unshift logic, and all of them are methods of the Array class in JavaScript as well.
thank you very much! your tutorial explains exactly what I am looking to do.
Original thread: https://forums.rpgmakerweb.com/threads/is-this-a-possibility-newbie-doesnt-know.116121/