So, I want to store all the TP my party member has gained in a window. I made this approach:
for c in 0..$game_party.members.size tp_max+= $game_party.members[c].tp end hp_bar = [] for vin 0..$game_party.members.size hp_bar[v] = 143 * tp_max/ 300 # 300 is the maximum value endand somehow $game_party.members[actor_id].tp code does not give me the TP of that actor. What is my problem?
for c in 0..$game_party.members.size tp_max+= $game_party.members[c].tp end hp_bar = [] for vin 0..$game_party.members.size hp_bar[v] = 143 * tp_max/ 300 # 300 is the maximum value endand somehow $game_party.members[actor_id].tp code does not give me the TP of that actor. What is my problem?