Hi, I am trying to figure out a way to give the player a piece of armor from a game variable, so if variable 1 is 20, then the player is given armor id 20 ect. ect., I am fairly certain it's possible with script calls, I'm just not sure which script call.
MV Give players armor from variable
RPG Maker MV SupportTry this:
$gameParty.gainItem($dataArmors[($gameVariables.value(2))], 1, false);
Note that this is gives the party the item of armour stored in variable 2. Change the 2 to whatever variable that you want to use.
$gameParty.gainItem($dataArmors[($gameVariables.value(2))], 1, false);
Note that this is gives the party the item of armour stored in variable 2. Change the 2 to whatever variable that you want to use.
Thanks a ton
Original thread: https://forums.rpgmakerweb.com/threads/give-players-armor-from-variable.182281/