RMMV SelfSwitch based conditional branch

KravenarGames

Veteran
Veteran
Joined
Feb 19, 2017
Messages
129
Reaction score
15
First Language
English
Primarily Uses
N/A
Is there any way to create something like "If Event 001, Map 10, SelfSwitch A is on" Then "Enable switch X"\"Set variable to Y"?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,629
Reaction score
997
First Language
Portuguese - Br
Primarily Uses
RMMV
I didn't test it, but maybe you could try putting that on a conditional branch:
$gameSelfSwitches.value([mapId, eventId, SWITCH])

$gameSelfSwitches.value([10, 1, 'A']) - this will return true if the event 1 on map 10 has it's self switched A ON.
 

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

Latest Threads

Latest Profile Posts

Halloween, a day where kids are encouraged to take candy from strangers.
Stream will be live shortly with a session of the Interactive Text Adventure! Feel free to drop by!
Took a break from spriting dinosaurs to carve a dinosaur pumpkin.

Little early but to all of you that celebrate it :

Tomorrow is Halloween! I can't wait to go to Boxi Park and show off my costume! Also one of Dad's friends is staying the night, so he might get to see the show.

Forum statistics

Threads
104,669
Messages
1,007,973
Members
136,157
Latest member
Tian
Top