action test_pather() { path_set(my, "path_000"); var start_node = ll_pfind_getClosestNode(my, my.x, 1000, NULL); var dest_node = ll_pfind_getClosestNode(my, player.x, 1000, NULL); LL_LIST *path = ll_pfind_getPathToTarget(my, start_node, dest_node, ll_pfind_astarCost); while(!path) { beep(); wait(1); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de