I'm making a game in GMS 2. As part of the game, I have on object that is following a path, and I want it to continue following the same path after I change rooms. I noticed that this doesn't work - the path continues as usual, but the X and Y coordinates of the object change completely, for no reason at all - i tried this at debug mode, and at some point they just change. This only happens if I change the rooms while the path is active. This is the path creation code:
if (mp_grid_path(my_grid, my_path, x, y, dest_x, dest_y, 1)) {
path_start(path, ny_speed, path_action_stop, false);
} else {
show_debug_message("no path!!!");
}