Okay but how would I write that in code?
Here's how I normally save data:
Code:
ds_grid[# enum.x, _row]=x;
The way I normally save variables is I take a ds_grid, use an enum to pull a value, and have it equal to whatever the current value is for that object. So like whatever the X position of the NPC is, it'll save that value.
But how about the path_position? Will it be able to distinguish different points of the path down to the decimal without error? Because path_position only goes from 0.0 to 0.5 to 1.0, and everything in between, which seems like it would cause issues.
This is how I normally load in data btw:
Code:
x=ds_grid[# enum.x, _row];
So the X value for the object would be equal to whatever the value is in the grid, for example.