Map ID script call error

script: game interpreter line 450: nomethoderror occured

unidentified method map_id for #<game_party:0x836af58>

I'm using a parallel process common event that, when the player touches a certain tile tagged with a 2, triggers an event. Whenever the player touches the tile, I get the above message.

Capture.PNG
Capture2.PNG
Capture3.PNG
Moved to: RGSSx script support
Tech support is for getting the editors to run.

And most likely your script command is wrong, I don't think map ID is a property of game party.
You need to use the correct script line, but I don't know that, you'll have to wait until a scripter reads this.
map id is not a property of game party. It is $game_map.map_id

When you ask for help, be sure to state which engine you're using. I think in this case it's the same command for XP, VX and Ace, but in many cases they will be different.
map id is not a property of game party. It is $game_map.map_id

When you ask for help, be sure to state which engine you're using. I think in this case it's the same command for XP, VX and Ace, but in many cases they will be different.

Sorry, I'm using VX Ace. Your solution worked.
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/map-id-script-call-error.93449/