You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CryoEagle edited this page Feb 11, 2019
·
1 revision
mp_linear_path
Saves linear path
Syntax:
mp_linear_path(Path)
Argument
Description
GamePath Path
Path instance where will be positions saved
Returns:void
Description:
This function will save path to an instance of GamePath, it's useful for debugging or using path later in the game. Don't forget to create the instance of GamePath.
Above code will move with an object to X: 10, Y:10, while moving and don't collide with objects named oBrick or oGem it will save path to an instance of object GamePath named path.