
12-05-2007, 07:06 AM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
findpathinarray
I'm pretty curious... could anyone explain this function and its parameters?
Quote:
findpathinarray(obj, obj, obj, obj, obj, int, int, int) - returns object - simple pathfinding; parameters are a two-dimensional array ('tiles'):
tiles were we are allowed to walk
tiles where we are not allowed to walk
tiles where we may stop
tiles where we should not stop
start x and y
maximum path length
|
|
|
|
|