Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[RMXP] Sick and tired of this fight event, someone help...

Ok so I'm a beginner and I'm having some trouble with these few events that string together in a sort of mini-quest.
Here's what I wanted to happen-
1) Find red sword lying in store
2) Asked to steal it
3) Take it
4) Go outside shop
5) Theif pops up and tells you to hand over the sword
6) You say no
7) Fight theif, beat him
8) He joins party for you sparing his life
-If you lose the fight you have to start back inside the store, right after you stole the sword.

This is what does happen-
1-5 work
6) You say no...
7) Fight begins but once the graphics load the fight ends, music stops playing, ect.
Also the event doesn't disappear after you do it once.

If you need me to post the actual event I will but if not please explain what I need to do or simply do it for me, I learn best from example so I should be fine.
Thanks so much,
~MasterXMP
 
In an ideal world, I'd try to diagnose this after looking at screenshots of the event code, the Troop that the battle event calls, and the enemies that make up the Troop.

But, heck, I'll take a stab at it anyway.

The fight: Double-check the Troop that it calls. Does it have, y'know, enemies in it? Do the enemies have HP more than 0? (Yes, I realize that this is the "Is your computer plugged in?" question, but I try to cover all bases.)

Event running more than once: Events run more than once unless you tell them not to. Therefore, if you haven't put in anything that will stop the event from re-running, it will do so again-- and if it's an Autorun or Parallel Process event, it will re-run forever, locking the game in the case of an Autorun event.

There are two ways to stop this. One: Erase Event. Be aware, however, that Erase Event only erases the event until you leave the map and re-enter. It can be very useful for respawning monsters or similar effects, but not for plot events that are only supposed to run once.

Two: Another Event Page. Add another page to the event, usually with no graphics. Give it page conditions that will be triggered when the main event wraps, such as Self Switch A is ON, although other conditions may work.

Now end that first event with something like Control Self Switches: Self Switch A ON.

However, to be sure, yes, a screenshot would be helpful. Including one of the troop.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top