Hello, trying to set up a couple status values that work a little differently than described during the tutorial. I'm trying to set up shared resources between my three party characters.
MP: Consumable resource (mana) for abilities. Each member has their own HP, ATK, DEF but they all draw from the same mana total.
Enchantment Points: Resource that limits amount of "Enchantments" that are equippable.
For example, the party has 10 Equipment Points and access to a selection of "Enchantments" costing anywhere from 2-5 enchantment points to equip. You could spread out enchantments across three party members or pile them onto one, but they all draw from the same resource total.
How would I go about setting up these status values to draw from one pool?
Create a Battle Event. in the event, create a "change status value" node, select Object as "Actor", and Actor as "All Allies", then change the MP amount.
This will change the MP for everyone. Call this event whenever you use an ability. Now everyones MP changes if even one ally casts a spell.
Hide individual MP bars.
Another option could be to create a Game Variable and to check its value whenever you cast a spell.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
You can use selected data to get all the combatants from the group and set their status values:
- use a Select Combatant node with Use All Combatants enabled and Battle or Group combatant scope (depending on synchronizing only the battle group or the whole group)
- use a Change Status Value to set the status value to the newValue local float variable on the combatants you previously stored into selected data
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Event Settings (Add actor) Change Game Variables(set variables) > Change Status Values > ?
In the event, add a Starting Object type actor, the rest is as described above:
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!