Saving A Path Created in Code

C

Clueless2016

Guest
Hi there....newbie here looking for a bit of assistance

Using the mouse I draw a a line - or lines - which define a path for an object to follow. I then use this to create a path in code using path_add(), path_add_point() etc.

I need to be able to save the path and any subsequent paths created during play in order to be able to retrieve them later. Is it even possible to save something like a path to a file? Just to be clear, the paths are created in the game and need to be saved in order to be available for subsequent games.

If anybody could point me in the right direct it would be most appreciated.

Many thanks
 

MusNik

Member
You can add your points to a ds_list and save it, instead of trying to save the path.
 
Last edited:
Top