JARCHERSTUDIOS'S PROFILE

Search

[RMVX ACE] Trying to reference a variable selected via another variable, having syntax issues

I'm not sure exactly what's wrong, but I'm trying to build a disposition system for conversation. The system should be pulling the value of one variable selected by another variable. I assume I have the syntax wrong, but I've tried several versions and I can't find someone doing the same thing to check it against.

The code I'm using is:
$gameVariables.setValue[$gameVariables.value, $gameVariables.value
[$gameVariables.value]];

I want Variable 4's value to be equal to another variable, which has an ID equal to Variable 7's value. Variable 4 is the Disposition variable I use for calculation. But each character has a separate Disposition saved to a different variable. Variable 7 is used as a pointer to indicate which variable's value should be pulled to Variable 4 (Disposition) for calculation. What did I do wrong?
Pages: 1