Do switches/variables ever reset?

Murg1

Villager
Member
Joined
Feb 27, 2019
Messages
20
Reaction score
1
First Language
English
Primarily Uses
RMMV
I am very deep into developing an RPGmaker game. I am really starting to build ALOT of stuff around switches, self switches and variables.

Just to be clear, do switches, self switches and variables ever reset themselves for any reason? Or are all switch and variable changes saved in the save files forever?

If my switches and variables start resetting themselves my game will fall apart.
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,511
Reaction score
1,642
First Language
English
Primarily Uses
RMMV
They don't.
 

Tigerawr

Veteran
Veteran
Joined
Apr 11, 2018
Messages
71
Reaction score
53
First Language
French
Primarily Uses
RMMV
They're not supposed to. If this happen, you've got some debugging to do.
 

Murg1

Villager
Member
Joined
Feb 27, 2019
Messages
20
Reaction score
1
First Language
English
Primarily Uses
RMMV
Okay perfect. Thank you.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
The only way a switch/variable can reset is:

-If a plug-in forces it to. That is usually because the plug-in uses that switch or variable internally and you are not supposed to touch it except when the plug-in tells you to.

-You accidentally used it again and forgot it was already in use.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
On bgillisp's last point about accidentally reusing a switch - always, always, name your switches so that you both know what that switch does (after a few months & endless hours of working on the game it is very easy to forget that) and you won't re-use it thinking it's still available.
 

Neo_Kum0rius_6000

Not Your Ordinary Guy!
Veteran
Joined
Nov 8, 2017
Messages
196
Reaction score
349
First Language
english
Primarily Uses
RMVXA
I am very deep into developing an RPGmaker game. I am really starting to build ALOT of stuff around switches, self switches and variables.

Just to be clear, do switches, self switches and variables ever reset themselves for any reason? Or are all switch and variable changes saved in the save files forever?

If my switches and variables start resetting themselves my game will fall apart.
No they keep.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top