Cannot figured out how to use self-switch. Please help

Queen

RPG Maker MZ Newbie
Veteran
Joined
May 6, 2015
Messages
24
Reaction score
2
First Language
English
Primarily Uses
RMMZ
Hey guys, I know that this should be easy but for some reason I just cannot get it to work :(



PUIrDKT.png

 


Looking at the picture above, my problem is that I cannot get it to do the IF statement. Every time I run this, I will always get "Switching to Secondary Party." What am I doing wrong?

P.S. Just in case this contributes to the problem above, I'm using two Himeworks plugins (Himeworks is awesome!), one is Common Event Button and the other is Party Manager
 

Archeia

Level 99 Demi-fiend
Staff member
Developer
Joined
Mar 1, 2012
Messages
15,465
Reaction score
15,916
First Language
Filipino
Primarily Uses
RMMZ
You need to add an else branch and put that part after the end inside that else branch.


8o17ucw.png
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,689
Reaction score
8,495
First Language
German
Primarily Uses
RMMV
Hey guys, I know that this should be easy but for some reason I just cannot get it to work :(



And you won't.


Self-Switches exist only for map events, not for common events.


For common events, you'll need to use a regular switch, or a script to add self-switches to common events (and I don't know if that even exists for MV)
 

Queen

RPG Maker MZ Newbie
Veteran
Joined
May 6, 2015
Messages
24
Reaction score
2
First Language
English
Primarily Uses
RMMZ
And you won't.


Self-Switches exist only for map events, not for common events.


For common events, you'll need to use a regular switch, or a script to add self-switches to common events (and I don't know if that even exists for MV)

ahh darn, I see. Thank you for answering. :)   I didn't know that self-switches is limited to only map events. It's a shame since imo they're the easiest to use out of all the switches xD 
 

Latest Threads

Latest Posts

Latest Profile Posts

 …I think I might need to switch from standard ATK/DEF up/down buffs to parameter altering states. I just had an actor whose usual attack against an enemy does ~25 do a buffed attack against a debuffed enemy for ~600…
just saw that titan quest is free on steam until the 23rd
Zombie status is now complete. I didn't have to do much in the way of changing how healing is applied to undead targets, was just a simple 3 line code. I thought I had to overhaul Game_Action lol. Everything else was doable by events. So.. Zombie: You turn undead. Your element changes to darkness. You're weak to light, you're strong to physical attacks and healing hurts you and revival items will kill you.
My Overworld might be a mix of inspiration from 2D Final Fantasy games, Breath of Fire, Battlechasers: Nightwar, Super Mario World, and Pillars of Eternity. If I can make it more in-depth than just walking from point A to point B, that might do a lot for the gameplay experience. Hmm...

Forum statistics

Threads
115,226
Messages
1,088,224
Members
149,818
Latest member
JetWentworth
Top