I'm currently trying to set a variable to an event's x position. My problem is, I do not understand how to use an accessor to use a definition within the class. I found this definition, but my script is using the Game_Variables class. I'm trying to access a command that lists the location of an events x coordinate and store it as a variable.
I'm trying to access @events[id].x .
It seems like there isn't an accessor (Or I'm not trying the right way), but I may be wrong.
I've tried $game_map.events[id].x and $game_map[ :events[id].x] already.
I do see a mention of RPG::events in the Game_events script. Maybe that will help.