How to make a message show up after combat?

Hi there!

I just recently picked up RPG Maker VX Ace on Steam, and joined this forum only today.

I've been having some frustrating difficulties with something that should be quite simple I'm sure.

So I have e.g. An Ogre

I go onto it's page in the database in order to add events (?) (not sure on terminology yet) in order to try to make a message appear after you receive a game over.

Since I couldn't get that to work, I tried to do it if you win, as that seemed less complex, but I couldn't get that to work either.

So I want the order to go:

Ogre defeated

XP, Levels, Items etc.

Everything fades to black

Message appears during blackness

And then goes either to Game Over (if lost) or back to the map (if won)

I'm aware of the box you can tick that prevents game over even if you lose, but that didn't seem to help when ticked. If somebody could give me something quite specific as to how it should look like (don't be afraid to be VERY basic with me, I'm kinda awful at this) and make sure I'm doing the alterations in the right place. (Don't even know if the database is where I should be trying to do this...)

Thank you!
I don't know if it's possible with random battles, but using touch encounters do it like this on the monster event page:


xdxwyh.png
So I want the order to go:

Ogre defeated

XP, Levels, Items etc.

Everything fades to black

Message appears during blackness

And then goes either to Game Over (if lost) or back to the map (if won)
Made a demo for you to demonstrate how to achieve all but the last part even for a random encounter.

Demo: Click here to download

The demo doesn't have any events on the map, the secret is all in the Troops & Common Events. 😉

I'm aware of the box you can tick that prevents game over even if you lose, but that didn't seem to help when ticked.
 This only works with on map encounters but it should work for those if you do as Milennin has shown above.

I don't know if it's possible with random battles, but using touch encounters do it like this on the monster event page:

Spoiler
xdxwyh.png
It is possible with random battles to call a common event after the battle is finished (see my demo above for details); I'm still trying to figure out how to tell if the Player won or lost. 😉

If you still would like more help on the subject let me know. 🙂
I'm still trying to figure out how to tell if the Player won or lost. 😉
looking forward to peeking at the demos later. =]


@Ct - to determine who lost -


Would it work to set


control variables: [monster's hp] = 1. [water spirit's HP]


in troop battle events


and if it is zero then the monster lost?
Wow, thanks for the demo ct_bolt and thanks for the image Milennin!

Both of you were very helpful and have solved my issue.

Frustrating problem number one solved! (thankfully)

I'll be back on these forums again should my noobiness prove to great. 😛

Thanks again ^^
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.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-message-show-up-after-combat.15531/