Variable equal to party member 1's level

● ARCHIVED · READ-ONLY
Started by nickfitzgerald3 4 posts View original ↗
  1. I am trying to make a section that you can only pass if your first party members is level 5 or lower. But I need to learn how to set a variable to the party member 1's current Level

    Help is much appreciated
  2. Moving to VX Ace Support, since it doesn't really involve scripts (just the scripting option in Control Variales)

    You can do that in Control Variables. Choose the Script option, and in the script box type the following:

    (if you mean the leader)

    Code:
    $game_party.leader.level
    (if you mean Actor 1)
    Code:
    $game_actors[1].level
    Though if you mean Actor 1, you should be able to use the Game Data option and not have to choose the Script option at all.
  3. awesome thank you!
  4. 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.