[RMVXAce] Events won't reset in Test Play Mode

yarnWitch

Warper
Member
Joined
May 29, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
I have a scene set up where the player must speak to 3 npcs, 3 times each before the 4th npc will allow them to leave the room. 


Each NPC goes through their dialogue and it changes using self-switches.


The last dialogue an NPC has triggers a switch that should be able to be used to signify all conversation with them is done. 


My problem is that I can't call on 3 separate switches, at least normally, to make another event go off. It limits me at two.


So instead I have it set up that each conversation adds +1 to a variable that I set up for this, thinking it would turn out well, since each character moves on to their next dialogue and nothing should repeat. This SEEMED like it worked, until I tested speaking to only one character multiple times, and managed to get +1s enough to trigger that switch. So I added a final self-switch to turn that off, and now for some reason, when I load up my playtest, my npcs are all in their final position, like the variables never reset. 


Is this normal for playtests? Or am I looking for the solution in the wrong places? 


This is my first post, so I don't know if I can attach a lot of screencaps, but I will at least have them prepared if they are needed, since it is 11+ event screencaps.


I did try to search the forum for the playtest error (events won't reset, events and playtest error), but I am worried I am searching for the wrong thing... and then the following problem is that I wouldn't know what to search for from here, so I'm sorry if this aggravates anyone. I'm kind of at a loss. 

Shots of Code


doir1.pngdoir2.pngdoir3.pngdoir4.pngkate1.pngkate2.pngkate3.pngkate4.pnglibby1.pnglibby2.pngsami1.pngsami2.pngsami3.pngsami4.pngsami5.png
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
That has nothing to do with playtest - most likely one of your switches or variables has a double use and is changed by some other cause in addition to your events displayed above. Have you installed any scripts? if yes, check their configuration options on whether or not they use any of your switches and variables.


Also, check all other events on that map and your common events if you have used those switches and variables there already.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I would immediately suspect you're using switch 1 in a script also.  Any chance you have Yami's Overlay script installed?  That seems to be a common one that uses switch 1, that people use without setting up correctly.


One way to confirm is to give each NPC something completely different to say on each page (you might already have this - I didn't look closely enough), and see which one of them starts saying the wrong thing - I'm guessing it's going to be the last one, that uses switch 1.


In fact, you don't even need to use a switch. You have 4 self switches - just turn on self switch D instead of using a switch for each of them.  And get rid of the commands that turn the self switches off on each page of that one event.  If you're not going to come back here and go through the whole thing again, you don't need to turn them off.
 

Bex

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,492
Reaction score
408
First Language
German
Primarily Uses
RMMV
Did you press F12 for restarting playtest? If yes than i believe to have read somewhere  deep in the past that some stuff doesnt reset with gamerestart F12.


I hope it was this.


Edit: Just tested it and nope that doesnt happen. F12 works fine.
 
Last edited by a moderator:

yarnWitch

Warper
Member
Joined
May 29, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Any chance you have Yami's Overlay script installed? 
Actually, yes! I just installed it. That's a good guess. I didn't even think it would interfere, since I hadn't even tested it out yet. Thank you!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Actually, yes! I just installed it. That's a good guess. I didn't even think it would interfere, since I hadn't even tested it out yet. Thank you!
The most basic rule of using scripts is ALWAYS CONFIGURE them, never simply put them into the script editor and then ignore them.


Because as you've experienced, an unconfigured script (or rather one in which the default configuration uses variables and switches that you already used for other effects) can break your entire game. If you're unsure on how to configure a script, follow the link "how to use a script" in my signature.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Actually, yes! I just installed it. That's a good guess.


It wasn't a guess :)   Yami's overlay script is very popular, and uses switch 1 by default.  MANY people add the script to their game and don't take the time to configure it, either giving it its own switch, or reserving switch 1 in their game so they don't use it for another purpose.  So many people ask for help with problems very similar to yours.  I figured there was a better than 50% chance that's what you'd done too ;)
 

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,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top