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.

falcao pearl party issue Solved

im having issues with the party set-up.

when I have another character join my party for some reason when my first character dies I will fall back to another member of the party

I want it to go game over if the main character dies. I don't want the option to use the other party members, I just want them to assist the main character to attack when told too. (ABS style fighting)
 

Jason

Awesome Bro

Yeah, set a variable to check the main characters HP, then make a conditional branch, if that variable is equal to or less than 0 (Since you could have 10HP and an enemy does 12 damage), go to game over screen. Just do this as a common event and call it right at the start of the game.
 
I think a parallel process event is definitely the way to go. I was browsing the scripts and couldn't find where the system is actually doing this, but I'm sure it's somewhere that I'm just not seeing because I have a very basic knowledge of scripting in RM. :s

You could do something like this:


Just turn on a switch when the game starts to initiate it (what Jason said).
 
awesome guys thanks so much doing this made it more realistic for my game. I really didn't like how if I had party members and my main character dies. I would be forced to continue using another party member.

thanks all of u for your help :D
 

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