Variables not working
BMM_Archive · July 15, 2026
Original Source
- Original title: Variables not working
- Original author: Pondis
- Original date: July 23, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/variables-not-working.42729/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I have searched, I am new to RPG maker and I have spent far too long trying to figure out what is wrong, so sorry if its a really simple problem. I am trying to set up a day counter. I dont care about changing days automatically, it happens when a player interacts with a bed, but thats beside the point. So I have an event that auto runs that should create and set the Day to 1 but when the game starts its always 0. I created an event...
Archived First Post
I am trying to set up a day counter. I dont care about changing days automatically, it happens when a player interacts with a bed, but thats beside the point.
So I have an event that auto runs that should create and set the Day to 1 but when the game starts its always 0.
I created an event to increment the day, but even then nothing happens.
I added a switch to the auto run event in the hope that would make a difference and it didnt.
Any advice? I am sure its a simple fix!
EDIT: I found the issue, in my game_variables script, @data[variable_id] = value was set to @data[variable_id] = 0.
This can be closed now thanks
Protected download
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
