Fandom

Game Maker

Path start

281pages on
this wiki
Add New Page
Talk0 Share

path_start(path,speed,endaction,absolute) Starts a path for the current instance. The path is the name of the path you want to start. The speed is the speed with which the path must be followed. A negative speed means that the instance moves backwards along the path. The endaction indicates what should happen when the end of the path is reached. The following values can be used:

0 : stop the path

1: continue from the start position (if the path is not closed we jump to the start position

2: continue from the current position

3: reverse the path, that is change the sign of the speed


The argument absolute should be true or false. When true the absolute coordinates of the path are used. When false the path is relative to the current position of the instance. To be more precise, if the speed is positive, the start point of the path will be placed on the current position and the path is followed from there. When the speed is negative the end point of the path will be placed on the current position and the path is followed backwards from there.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.