GMS 2 Paths

AndreFS

Member
I read all the documentation and I don't see a form to check if a path has been started
I have an objective, that objective has a path to follow, but I declared it in the step event, so with each step
the path is started and the obj is stuck in a loop, so I want check if the path has not been started, to after start this.
 

Slothagami

Member
Here you go!
Code:
    if path_index == -1 { // the id of the path being followed, -1 if no path is being followed.
        // Start your path
    }
 
Top