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.

First character can't fight, others can

How do I disable one of my characters to fight, I may create a pokemon game, so I want to disable Ash to fight, while the others do, please answer soon :biggrin:
 
If you are planning to make a Pokemon game, I'd advise you head over to the Script board and give a look at the Pokemon Starter Kit thread, it may be more to your liking.

But to answer your question, you'd want to make a common event with a conditional branch that checks for the character in the party, if the character is in the party have it inflict the knockout effect (or make your own state in the database similar to the knockout effect). This will prevent him from being able to attack.

Here's a screenshot which may help if you're confused.

2ykxc81.png

Good luck!
 

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