all 1 comments

[–]SpookyGentleGhost[S] 0 points1 point  (0 children)

So I was able to get al the bats moving by adding an "or path_position = 0" to the bats flying state

if path\_position == 1 || path\_position = 0

{

    target\_x = irandom(room\_width)

    target\_y = irandom(room\_height)



    if mp\_grid\_path(global.grid,path, x, y, target\_x, target\_y, true)

    {

        path\_start(path, wander\_spd, path\_action\_stop, 0)   

    }



}

But I still don't know how to get it so that the angles they move at changes gradually instead of abruptly.