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.
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.
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. 🙂