Soldiers won't disappear...

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
417
Reaction score
283
First Language
English
Primarily Uses
RMMV
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.



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.
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
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.
 

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
417
Reaction score
283
First Language
English
Primarily Uses
RMMV
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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.
 

Amenti

*Grandiose*
Veteran
Joined
Mar 28, 2017
Messages
225
Reaction score
280
First Language
English
Primarily Uses
RMMV
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.
 

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
417
Reaction score
283
First Language
English
Primarily Uses
RMMV
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
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...
 

Amenti

*Grandiose*
Veteran
Joined
Mar 28, 2017
Messages
225
Reaction score
280
First Language
English
Primarily Uses
RMMV
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. :)
 

Jenova

Because you are...a puppet!
Veteran
Joined
Nov 29, 2017
Messages
417
Reaction score
283
First Language
English
Primarily Uses
RMMV
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
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D

Forum statistics

Threads
106,051
Messages
1,018,551
Members
137,837
Latest member
Dabi
Top