I am hoping to figure out how to have an event reference itself using this.x and this.y (or something simlar to that)
Currently I am using the TileChanger plugin with FOSSIL on RMMZ.
The regular syntax is to use for this plugin to change files is:
ChangeTile $gameMap.event(5).x $gameMap.event(5).y 1 8
I'm trying to find away to do is:
ChangeTile this.x this.y 1 8
I've tried multiple ways but can't seem to figure it out. Is it possible?
This would be a huge time saver for me for what I am planning on doing with it.
EDIT:
This was solved on the RMMZ discord.
I had to use:
ChangeTile $gameMap.event($gameMap._interpreter.eventId()).x $gameMap.event($gameMap._interpreter.eventId()).y 1 8
Currently I am using the TileChanger plugin with FOSSIL on RMMZ.
The regular syntax is to use for this plugin to change files is:
ChangeTile $gameMap.event(5).x $gameMap.event(5).y 1 8
I'm trying to find away to do is:
ChangeTile this.x this.y 1 8
I've tried multiple ways but can't seem to figure it out. Is it possible?
This would be a huge time saver for me for what I am planning on doing with it.
EDIT:
This was solved on the RMMZ discord.
I had to use:
ChangeTile $gameMap.event($gameMap._interpreter.eventId()).x $gameMap.event($gameMap._interpreter.eventId()).y 1 8