RPG Maker Forums

I've decided to make a mechanic in my game where you gain one "Death Coin" (just a placeholder name) when a party member dies. However, if everyone dies, you must reload a save as usual and lose the gained coins. This would encourage the player to play dangerously, getting to the brink of defeat, and coming back with good use of strategy and coordination. However, I don't know how to do this. Can this be done with events, or is a script needed? How would I go about this? I have Yanfly's more currencies plugin, so I can integrate that if it helps.

Edit: Solved!


@Wavelength I'm using base troop events to do what you suggested. Everything's working as intended!

@M.I.A. afaik, setting the base troop event to "battle" scale only allows it to activate once per battle, eliminating the chance for multiple coins from one actor. That being said, I'll allow the player to keep their coin and revive. The coins themselves are just for a special shop.

This has been solved! Thank you everyone so much for the help!

Basically, I set up the base troop events as Wavelength specified. I'm using Yanfly's More Currencies plugin to use a variable as the currency. So when an actor dies, that variable goes up by 1.

Quick Edit: @Wavelength yes, I'll have to add a balancing mechanic. Perhaps once so many turns have passed, you can no longer earn tokens. I'm not sure, I'll have to think about it. Good point. Healing in my game is already taxing, so maybe that will be enough.

Also, I just thought of a name: Crypt O Currency.

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,470
Members
137,821
Latest member
Capterson
Top