How would I make a script that would display a character's exp to next level as a variable? I found a script for vx where you would call a script with an event
next_exp(actor_id, variable for actor's next level)
and the script was
next_exp(actor_id, variable for actor's next level)
and the script was
Code:
def next_exp(member_id, var_id) actor = $game_party.members[member_id] exp = actor.next_rest_exp_s exp = 0 if exp == "-------" $game_variables[var_id] = exp end