PLUGINS:
Move Route Core
Self Switches and Variables
I have an event that I want to move to another event on the map. Normally, with Move Route Core, you just use the javascript command "MOVE TO: EVENT 5". However, I'm also using the Self Switches and Variables plugin, which you can control from within the Move Route Core plugin with a javascript command "SELF VARIABLE 1: 5". So I first tried this:
Code:
Script: SELF VARIABLE 1: 5
Script: MOVE TO: EVENT $gameVariables.value(1)
but that didn't work, so I went into Lunatic Mode and tried:
Code:
Script: SELF VARIABLE 1: 5
Script: this.moveToEvent($gameVariables.value(1))
but that doesn't work either. The event just moves to the player, which means Self Variable 1 = 0.
After some digging around, I tried:
Code:
Script: SELF VARIABLE 1: 5
Script: this.moveToEvent(this._interpreter.getSelfVariableValue(1));
but still the exact same behavior.
By the way, I tried this in both Autonomous Movement and Set Movement Route, same behavior. (I'm shooting for Autonomous Movement.)
I've tested it after turning off all other plugins, no dice. Anyone understand why this isn't working?
Thanks!