@metronome
$gameParty.numItems($dataItems[n])$gameParty.numItems($dataWeapons[n])$gameParty.numItems($dataArmors[n])// or$gameParty._items[n]$gameParty._weapons[n]$gameParty._armors[n]// Get a variable:$gameVariables.value(n)// Set a variable:$gameVariables.setValue(n, value)// Your example: add V[1] and V[10] and put the result in V[11]:$gameVariables.setValue(11, $gameVariables.value(1) + $gameVariables.value(10))// or if that's a bit tough to read and you're able to use multiple lines:var temp = $gameVariables.value(1) + $gameVariables.value(10);$gameVariables.setValue(11, temp);
$gameParty.numItems($dataItems[n])$gameParty.numItems($dataWeapons[n])$gameParty.numItems($dataArmors[n])// or$gameParty._items[n]$gameParty._weapons[n]$gameParty._armors[n]// Get a variable:$gameVariables.value(n)// Set a variable:$gameVariables.setValue(n, value)// Your example: add V[1] and V[10] and put the result in V[11]:$gameVariables.setValue(11, $gameVariables.value(1) + $gameVariables.value(10))// or if that's a bit tough to read and you're able to use multiple lines:var temp = $gameVariables.value(1) + $gameVariables.value(10);$gameVariables.setValue(11, temp);
$gameParty.numItems($dataItems[n])$gameParty.numItems($dataWeapons[n])$gameParty.numItems($dataArmors[n])// or$gameParty._items[n]$gameParty._weapons[n]$gameParty._armors[n]I tried script calling:
$gameVariables.setValue(100, $gameParty._items[1]) or $gameVariables.setValue(100, $gameParty.numItems($dataItems[1]))where item 01 is 10 in my party possession
when I call the \V[100] it returns 0 instead of 0......