patrol_path

Posted By: prog

patrol_path - 01/29/08 06:10

hi..
i have given patrol_path action to an entity. and after it reaches its final node
i want it to stand there, but it is moving in a loop...(though the first n last nodes r not connected)
how can i make the entity move in a path and stop when it reaches last node.
Posted By: Anonymous

Re: patrol_path - 01/29/08 08:43

path_nextnode(ENTITY*,var node,var edge) returns 0 if there is no next node - so it must be a dead end.
© 2023 lite-C Forums