I have an event that shoots spikes out of the ground on various tiles, changing the tile afterwards to have a hole in the ground.
How can I change the x and y values (10 and 16 which are placeholders) to match with variables "SpikesX" and "SpikesY"?
$game_map.data[
$game_variables[13],
$game_variables[14],
2
] = 483
hot, ty
Original thread: https://forums.rpgmakerweb.com/threads/how-to-reference-a-control-variable-in-a-script.152130/