Quote:
Originally Posted by maximus_asinus
HTML Code:
--------OO------
--------OO------
--OO----OO------
--OO----OO------
--OOOOOOOOOOOO--
--OOOOOOOOOOOO--
------------OO--
------------OO--
I don't know if it came out properly formatted, but basically I would like the NPC to follow the "O"s and stay off the "-'s, and then walk back towards the start. I've read about the move function, is that the most efficient way of doing this (plotting out his course)?
|
The most efficient way, would probably be to script an A* movement system.