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.
Forgive me if this is a silly question, I'm pretty new to this.
I want to make it so that my "stone" status leads to game over if the whole party is affected. Sitting helplessly until the enemy finally gets around to finishing me off is ... not ideal. Is there an easy way to accomplish this?
Thanks for any help!
EDIT: Figured it out, using a set of conditions which compared the number of party members to the number with stone status. Thanks anyway, though.
If every actor has a dead-like state, then it is Gameover. If all enemies have a dead-like state, then you've won the battle. That is how you want it to work, right? Hmm, I can't imagine how you can do this easily and effectively with common events so I'll go ahead and write you something real quick...
Any states that are supposed to be referred to as dead-like states (such as your Stone state), you'll be putting its database ID in the brackets in the top of the script where it says RPG::State::Dead_Like_States = []. So, for instance if Stone is state #17 in the database then you'd put a 17 in the brackets. You can put as many state IDs as you wish in there, states with those IDs will be considered dead-like states.
Enjoy :thumb:
PS; Although I doubt you will, if you come across any problems related to this script feel free to PM me, I don't watch topics.