Storing Actor to a Variable from User Choice

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.
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.

Original thread: https://forums.rpgmakerweb.com/threads/storing-actor-to-a-variable-from-user-choice.93802/