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
3,097
Reaction score
2,362
First Language
English
Primarily Uses
RMMV
They don't.
 

Tigerawr

Veteran
Veteran
Joined
Apr 11, 2018
Messages
75
Reaction score
58
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
14,292
Reaction score
15,414
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,858
Reaction score
12,407
First Language
English
Primarily Uses
RMMZ
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
205
Reaction score
351
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.
 

Latest Threads

Latest Profile Posts

Here's a showcase of layers of visual effects I've added over a scene. By stripping them off, one by one. :kaoblush:












Aaaaand, here's me working on the above scene, adding weather effects to it: :kaoeh:


DamageActor1_2.png added!
index.php


Krow and Dova's Cool New Game | Release Trailer

Forum statistics

Threads
124,583
Messages
1,164,575
Members
163,408
Latest member
sumeiaverage
Top