Status
Not open for further replies.

crimsonrabbit

Villager
Member
Joined
Oct 24, 2016
Messages
9
Reaction score
1
Primarily Uses
N/A
So I'm trying to make it so that when the player transfers to a certain room that has a baby, a BGS will play of the baby crying. If you choose to kill the baby, upon re-entering the room, the BGS won't play. If you don't kill the baby the BGS will play when you re-enter.

Right now I have it set up like below. I enter the room the first time, the BGS plays without a problem. If I trigger the event where the baby is killed, and then leave and re-enter a room, again there's no problem - the first part of the conditional branch, the player transfers to the room and there's no BGS playing.

However, if I don't activate that event (i.e. choose not to kill the baby), and then leave and come back, I get the same result as if I had activated the event - the BGS isn't playing upon re-entry.

Is there something I'm screwing up? Right now I have a separate conditional branch under the "Else" branch but I've also tried it by not creating a separate conditional branch there and it's the same result.
 

Attachments

  • EVOO1 Page 1.png
    EVOO1 Page 1.png
    38.7 KB · Views: 6
  • EVOO1 Page 2.png
    EVOO1 Page 2.png
    44.7 KB · Views: 5

crimsonrabbit

Villager
Member
Joined
Oct 24, 2016
Messages
9
Reaction score
1
Primarily Uses
N/A
And just as soon as I posted this I realized my error: The switch for the baby's death event had to be set to Off in order to activate the Else branch of the conditional branch. What a headache.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,088
Reaction score
2,681
First Language
Greek
Primarily Uses
RMMZ
You are using TWO switches instead of one.
Make one, named Infant Dead.
Set it to OFF
If you kill the child in the option, you turn this Switch ON

Conditional Branch Infant Dead = OFF
Play Sound


Just read your double post you ninja! Try not double posting since it is against the rules. ;)

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Run Script Calls & Play Unique Sound Effects With Each Skill & Item | RPG Maker News #113

Let's continue making our game in MZ! Touchfuzzy is... still eventing... though this time we may be working on eventing some tutorial stuff for our players!

I work late on the game so I sleep in then I wake up late so I have to work hard to make up for sleeping in meaning I work late again and sleep in again... what a nasty cycle.
I just had my first real fire. Dad made burgers for lunch and the grill caught fire. He tried to get water but I told him you should never put water on a grease fire. So I got him the fire extinguisher under the sink and we managed to put it out. I can still smell a little of the smoke coming from the patio, but at least it's clearing. It sure was scary though.
was rendering a video and window decided to bsod on me :D fun

Forum statistics

Threads
113,842
Messages
1,077,901
Members
147,919
Latest member
vietlinh
Top