How do I set this condition branch up?

In my game the protagonist basically starts off in his room in nothing but his underwear However I want to set a certain door so it doesn't open unless he has activated the wardrobe and changed his clothes, thereby changing the actor graphic.

Basically...

If the wardrobe has not yet been activated, the door does not open and the character instead states that he should change before leaving the room.

If the wardrobe has been activated, the character is able to open the door and leave the room.
Make the wardrobe activate a switch, then check that switch on the door event...
And how the heck do I do that?
Learn how to use switches... Look for Andar's tutorial for beginners... Using switches as conditions for events is a basic thing that everybody should know.
Can I please have a link to the tutorial then?
You've been a member of this forum for 12 months and have 51 posts, and you don't know how to use switches? How is that even possible?


If the clothes are "equipment" and the character puts them on by changing equipment, you could just have the door event see if the actor has the clothes equipped.
You've been a member of this forum for 12 months and have 51 posts, and you don't know how to use switches? How is that even possible?

If the clothes are "equipment" and the character puts them on by changing equipment, you could just have the door event see if the actor has the clothes equipped.
Why are you even so surprised?

The clothes changing event is merely an actor graphic change, I have no intention of adding it as an in-game item although I admit that would be easier.

Also switches didn't become an issue until now.
Walk through it.


When they go to the wardrobe, does it open and they change clothes immediately? Or do they just see clothes in there and have to interact with it again? On whatever even handles the actor graphic change, turn on a switch to say they're wearing their clothes.


Then on the door event, have one page with no conditions that won't let them out, and a second page with the switch as a condition, which acts like the normal door event.
OK it seems like I figured it out but now the game is doing something I don't want it to do.

as I said I don't intend for the player to be able to open the door until he gets dressed. 

If the clothes hasn't been changed already the door opens part way before he states that. The door isn't supposed to do anything at all.
You asked for a link to a tutorial.  Here is the link to Andar's excellent thread.
Do you have the event taking up 2 pages like I said? Is page 1 the door event with just the text saying you have to get dressed first, and the second page is the one that has the move route on the door to open?


If so, get rid of the move route on the first event page. As long as that page is active the player will never be able to open the door, so you don't need the move route at all.


If that doesn't solve the problem, take screenshots of both your event pages (include the WHOLE event window as we need to see stuff other than just the list of commands) and post them here.
here you go

Door event.PNG

Dresser_event_page_1.PNG

Dresser_event_page_2.PNG
Doesn't seem to anything wrong with your condition branch.

I believe you're talking about the door graphic change. You only need to make sure 'Direction Fix' is checked on your door event.

A couple of things to note:

1) The door event doesn't necessarily require a conditional branch.

The first event page without any conditions checked displaying the text. (Make sure 'direction fix' is checked)

The second event page with the 'Switch 1: Wardrobe is ON' condition checked, will have the 'move route' commands.

Incidentally, if you do it this way, you wouldn't need to 'force' the player to walk through the door and close the door.

2) For your wardrobe event, since you're already using a global switch, you can shorten your event a little by skipping the 'Self Switch'.

Hope this helps. ^^
Yeah, that's why I said, twice, to use two pages on the event, and asked if you'd used two pages on the event.


not particularly directed at you, because many people have done this, but why bother asking for help if you're


- not going to try the suggestions provided


- not going to TELL people, when you get stuck, that you ignored their suggestions and went your own way - it leaves them wondering if they've made a mistake in the steps or you've made a mistake in following them, when neither is true


You don't need to use a self switch AND a switch on that wardrobe event's second page. If you're using the switch (for the door's sake), just use that for the wardrobe and ditch the self switch.


Direction Fix on your door is going to stop it changing before you get dressed, but then it's going to cause problems when you DO get dressed, as you've got Direction Fix turned on, and the door won't open at all. You would then have to set Direction Fix OFF at the start of the door move route, and ON again at the end.


Or just use two event pages for the door 😉
Just as a sidenote: your screenshots proof that your editor doesn't work correctly. I don't know if it would effect these events, but regularly when a condition is NOT checked, the selection slot of that condition should be disabled - your's all show active options.


There are several others who had the same strange effect, and so far I've neither seen a solution nor any bad effect on any game, but it's worth mentioning...
I ditched the self switch.

But now what I'm trying to figure out is what exactly you want me to do.

I got it working exactly the way I want it to now! What Shaz suggested about the direction fix is exactly what I needed. 😀
And you still didn't say if you switched to the two-page event method that's been suggested all along. If you didn't, did you fix the move route when the door opens or haven't you tested that yet?


Out of interest, where did you purchase your Ace from and where did you download it? As Andar says, there have been a number of people with a "glitchy" Conditions section on their events and I don't know if it's ever been determined why.
And you still didn't say if you switched to the two-page event method that's been suggested all along. If you didn't, did you fix the move route when the door opens or haven't you tested that yet?

Out of interest, where did you purchase your Ace from and where did you download it? As Andar says, there have been a number of people with a "glitchy" Conditions section on their events and I don't know if it's ever been determined why.
1. No, because what I have already works exactly the way I want it to. I fixed the move route and it has been tested.

2. Humble Bundle. Steam.
But now what I'm trying to figure out is what exactly you want me to do.


I got it working exactly the way I want it to now!
We're thinking one step ahead of you - if you do not know why something works, you're almost guaranteed to get other bugs farther on (either because you want to duplicate this into something similiar and it won't work, or because you change samething that will cause this sequence to fail without realising it, simply because you didn't know that was involved in the solution in the first place.
Whenever you solve bugs in any larger project, finding out the why behind the bug is more important than the fix itself in the long run.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-set-this-condition-branch-up.36427/