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.

Common event help

I want to make a common event where if a character dies and there is a particular item in the inventory it will automatically be used and bring them back to life, however it has to work even if the last living character dies (so instead of going to a gameover it would check if there are any of these items and if there were it would activate reviving the character)
 
You need some kind of script that makes the game over screen untriggerable automatically. I also need this kind of help, I want a script or something that won't trigger the Gameover, unless I want to.
 
huh...well I don't know if I could script something like that because it would be difficult to cause a gameover when I actually wanted one...maybe I could work on some kind of delay gameover script (or possibly modify the current gameover script)
I was pretty sure this could be done by common events though.
 
You dont need a script. Just make a Parrallel process and do a Cond. Brach. then
"If chara's HP =<0"
< use item....
Else
<
End
<
Once i can get to my other comp i can clean this up and use all the real words
 
Glad to see a guy here that doesn't use a script to scratch his back jk... XD

Yes, a parallel common event would work, you just make conditional branches to know if your party is dead.... after you stated that they are... just make a conditional branch asking if you have at least 1 revival item, bring them back to life and take the item away
 

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