Storing Actor to a Variable from User Choice

Discussion in 'RPG Maker MV' started by Austrian, Apr 9, 2018.

  1. Austrian

    Austrian Villager Member

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Hello,

    Is there a way to store a user choice to a variable? For example, if user chooses to remove actor A from the party, is there a way to store that actor ID into a variable and later re-add him back to the party by using the variable?

    Thanks.
     
    #1
  2. Andar

    Andar Veteran Veteran

    Messages:
    27,712
    Likes Received:
    6,226
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Simply use control variable command inside the branch of the choice to store whatever you want. Most data is available through the game data option of that command, or you can use the script option.
     
    #2

Share This Page