Script Call Support Boards

And how to do the same on VXA?
Stepping through this a step at a time...
In the event command you do this.
1742827319269.png


Which goes to the Game_Interpreter line 531. Which calls game_data_operand at line 552
In the case of above where you're setting the x position the return value is character.x
character being the actor it gets from line 216. Which is either $game_player or and event.

So that would lead me to think the script command is
$game_variables[6] = $game_player.x
tested and works.

So to have them together in an array, as you know is
$game_variables[6] = [$game_player.x, $game_player.y]
ydoolb said:
On MV it looks like this (this line in the sert variable -> script):
$gameVariables.setValue(6,[$gamePlayer.x,$gamePlayer.y])

and this line (in event custom move route -> script):
this.setPosition($gameVariables.value(6)[0],$gameVariables.value(6)[1])

And how to do the same on VXA?

So as it has been already mentioned in this thread, the first answer would look like this:

$game_variables[6] = [$game_player.x, $game_player.y]

Concerning the second part, you'd need to use 2 lines of code to translate it to Ruby.

For the current event, use index 0. For other events, use their corresponding ID instead.

event = get_character(0)
event.moveto(*$game_variables[6])

Or you could stick to a single line of code:

get_character(0).moveto(*$game_variables[6])

NOTE: I'm interpreting the situation here as if no event swap or no event-player swap is taking place at all.
I need help with Ogre PSP Crafting System. I'd link the script if I could, but it's all set to private. Anyway, the problem I have is that when I put the word 'fire' in front of 'elemental', the items no longer show up. But if I remove it it works fine again.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-support-boards.25767/