07-19-2020, 08:50 PM
Quote: The bar im trying to use has a hard time accesing the data from XTRA_STATS_ACTOR. I guess that is because I dont know how to do it
Nonononononooo!!!!
You don't link the bar to XTRA_STATS_ACTOR at all. You link it to the method defined for that stat. You have an mp stat designated above, so just consider this!!! Using a bar script called 'draw_bar' as an example.
draw_bar(actor.hp, actor.maxhp, bar_x_pos, bar_y_pos, bar_length, 8, hp_bar_color)
draw_bar(actor.mp, 999, bar_x_pos, bar_y_pos+20, bar_length, 8, mp_bar_color)
At the time, I only assumed a static '999' maximum for character stats, not something akin to HP or SP.
WORKING now....