Posted By: Pr0gr4mm3r
end of path - 11/14/07 22:22
how to know that the entity arrived at the end of a PATH?
I want the entity to stop in the end of PATH.
Thank you!
Posted By: Joozey
Re: end of path - 11/14/07 23:29
well since your path will always be a circle, use path_nextnode to check wether or not the next node is 1 (1 is the first node). So if the result of path_nextnode == 1, then the current node is the last one.
Posted By: Pr0gr4mm3r
Re: end of path - 11/15/07 01:59
Ok, will test. Thank you!