Soldiers won't disappear...

So i made 3 start quests for the main character so they can get basic gear in the beginning of game. I don't want them to leave town however. I tried to use three soldiers to block the entrance with events on each. They won't disappear when the conditions of having all the items in your inventory are met.

Spoiler: Event code
[IMG]https://i.imgur.com/KdWYZS8.jpg[/IMG]
[IMG]https://i.imgur.com/H4ZjPYC.jpg[/IMG]
[IMG]https://i.imgur.com/LRALuAg.jpg[/IMG]
Im not sure what i am doing wrong. Do i need to put a 'erase event' command somewhere or a conditional branch, maybe a self switch to 'erase event'?

EDIT: Nevermind, i figured it out. I was stacking conditional branches within each other rather than stacking them on top of each other. Thanks anyway.
I'd just like to clarify something for you before this thread gets closed.
"Erase event" only removes an event until the next time you load the map. It is very useful for things like a parallel process which sets a picture/screen tint/change of BGM etc. which you want loaded with the map, but don't want running continuously. It is also useful if you have on-map enemies that you want to respawn if you re-enter the map. It shouldn't be used for the sort of action you want here, as presumably you don't want the soldiers to run this check every time.

And as a total aside - "cant" and "can't" don't mean the same thing. I think you mean the latter in all those bits of dialogue.
I'd just like to clarify something for you before this thread gets closed.
"Erase event" only removes an event until the next time you load the map. It is very useful for things like a parallel process which sets a picture/screen tint/change of BGM etc. which you want loaded with the map, but don't want running continuously. It is also useful if you have on-map enemies that you want to respawn if you re-enter the map. It shouldn't be used for the sort of action you want here, as presumably you don't want the soldiers to run this check every time.

And as a total aside - "cant" and "can't" don't mean the same thing. I think you mean the latter in all those bits of dialogue.

That was very helpful.

10/10 best spellchecker.

Anyway, how do I make the soldiers disappear once all the items have been checked to be in my inventory? I have not fixed it, they were disappearing even when i did not fulfill all the requirements.
They do not disappear because in the event code as it currently stands there is no command that could make them disappear.

Usually this is done by making a second event page without a sprite and on priority above, and switching to that second page when conditions (NOT conditional branches) are fulfilled.
I suggest you follow the link to the starting point in my signature and work through one of the eventing tutorials linked there to learn how to work with multiple pages.
I dunno, but by the sound of it, you can try using adding another event page to the event{s} and switches to make them disappear. That's what I do when dealing with making characters disappear. Hope it helps.

Edit: looks like you beat me to it, Andar. Well done.
They do not disappear because in the event code as it currently stands there is no command that could make them disappear.

Usually this is done by making a second event page without a sprite and on priority above, and switching to that second page when conditions (NOT conditional branches) are fulfilled.
I suggest you follow the link to the starting point in my signature and work through one of the eventing tutorials linked there to learn how to work with multiple pages.

I dunno, but by the sound of it, you can try using adding another event page to the event{s} and switches to make them disappear. That's what I do when dealing with making characters disappear. Hope it helps.

Edit: looks like you beat me to it, Andar. Well done.

So where I am at right now (not at my computer) is conditional branches linking to other event pages via switches once the conditional branch was met. Still not working though. I will work through the signature tutorial tomorrow, but as it stands now, whether or not conditions are met the soldiers won't take a hike.
Then you did something wrong.
And I highly doubt that you will work through those tutorials "tomorrow", because unfortunately it takes more time than a single day to really learn the engine - you can only start tomorrow, but not finish that...
Oh, they will. You'll see. 🙂 Them soldiers will be marching back to wherever it is they came from. lol All you have to do is make an extra event page for every soldier's event. You can do that by looking at the top of the event page, there are tabs there which allow you to create extra event pages within that same event. If you look at the image you posted, there is a #1 on the left side corner, do you see it? Well, when you add another event page, there will be a second tab there named #2, and it is there that you will have everything empty, except of course you will click on the box that turns on either AutoSwitches, or regular switch numbers. I prefer to use regular switches. Alright, moving on, so to make the soldiers disappear, in the event you have going, add an event that turns on the switch or switches, put it near the end. If it doesn't work, then I believe you have too many branches. lol

Edit: Oh, so you got it? Cool. 🙂
Then you did something wrong.
And I highly doubt that you will work through those tutorials "tomorrow", because unfortunately it takes more time than a single day to really learn the engine - you can only start tomorrow, but not finish that...

Well, to be honest, I've already worked out a starting cutscene, a starting point with no return, 3 quests, 4 shops, am over world and I'm starting on a new town.

I've been using this software for 2 1/2 days.

I've been watching online tutorials but none so far are as specific as "blockade w/quest conditions"

I've been watching these: http://www.youtube.com/playlist?list=PLzevVXwTX9wipsdJnTsuzUoCLb9v5npat

So I will work "through", not "finish", but work through your tutorial tomorrow.

Thank you though, you guys are pointing me in the right direction

Original thread: https://forums.rpgmakerweb.com/threads/soldiers-wont-disappear.87867/