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.

Conditional Skills/Skill Chaining

Is this scenario possible at all?  It'd be pretty impressive for my RPG if it was:

One character uses a skill with the name (let's say): X.  However, he has already learned another skill named Y which will not show up in his list of skills in battle because it is conditional.  The character uses the skill and because he has learned the skill "Y", it is used right after "X" is dealt, but also the character knows the skill "Z" which is also conditional and does not show up in the list of skills, and so skill "Z" is automatically used right after "Y" making it so that in total, the the skills "X", "Y", and "Z", are dealt in order as a result of the character just using the skill "X".
 
Hmm... what I would do is turn on a corresponding switch for each extra skill learned (in this case, one switch for Y and one for Z). Now make the X skill call a Common Event. In that Common Event, use a Conditional Branch to check if Y Switch is on (if it's learned). If so, execute another skill (or if it doesn't work, show an animation and deal damage), and then repeat for Z.

Of course, this is untested, and may run into some problems. If you have skills Y and Z learned by level, make a Conditional Branch that checks the player's level and turns on the switches. Place this at the beginning of the Common Event.

Hope I explained it well enough. If you run into any other problems just let me know.
 

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