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.

Need help with combat events

So, I'm making a custom job system in RMXP similar to that which is in Final Fantasy Tactics. The issue I'm having is the JP increase when an enemy dies. I've tried setting up a combat event so that when an enemy dies, it adds JP, but can't seem to get it to work. Any help would be appreciated.
 
The version of the game I sent you isn't demo-ready yet. there are 2 characters right at the beginning that I use for debugging the JP system, including an option to state the values in each variable I'm using. Let me know if you can think of anything.
 
here's how I have it set up now;

- when enemy "X" dies, add 5 points to "JP"
- outside of combat a parallel that checks if "JP" > 1
- if it is, add "JP" to "current class", set "JP" to 0
- there is another variable which controls which the "current class" is.

I haven't worked out how I'm going to have the player spend the "JP" yet, I'm thinking I'm going to have to set up a custom menu system. If someone could send me a link to a thread that covers one, that'd be great. :biggrin:
 
Basically, all I need to find out is how to have a variable increase when an enemy dies in the standard combat system. It seems like something that would be quite common, so surely someone has had to have done it before.
 

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