I have a battle system where one of my party members' MP drains with every keypress that's not [OK]; I do have this working just fine, but the effect is kind of lost since the bar and numbers don't visually refresh in real-time. I assume something like this is possible since I've seen similar implementation with ATB games, but uhhh... how?
[Solved] Refresh current MP in real-time?
RPG Maker VXAce SupportHow are you displaying it in the first place? On the map, or in battle? How are you making it drain?
Are you using a script?
Are you using a script?
It's a completely fresh project, so I haven't done anything other than:
- add an autorun event to set a switch at game start so the common event works as intended
- add a battle event
- change the damage formulae for Eric's Attack and Guard
- add the common event that reduces MP on keypress (Conditional Branch: Button, Change MP: Eric -1)
- make the common event work exclusively in battle using Tsukihime's Global Common Events script
the script is so that your common event runs as a parallel process during battles?
That's correct! Sorry if I was being vague.
Solved! Used Fomar0153's Ticking HP, which also works for MP.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/solved-refresh-current-mp-in-real-time.143470/