I've just gotten Dark AI, and it seems to be working pretty nicely for the most of the time, but what i'm trying to do is make an object (loaded previously in DBP) follow a waypoint, and then after it follows that waypoint, it should STOP. Not begin to follow the waypoint again.
Some code I tried:
AI ADD NEUTRAL 10,training_plane,0
AI ADD WAYPOINT 0,OBJECT POSITION X(player),OBJECT POSITION Z(player)
AI SET ENTITY SPEED 10,8
I also tried using paths, like this:
AI MAKE PATH 100
AI ADD NEUTRAL 10,training_plane
AI PATH ADD POINT 100,1750,0
AI ENTITY ASSIGN PATROL PATH 10,100
AI SET ENTITY SPEED 10,8
But it didn't work at all either.
For each code snippet i'm updating the AI using AI UPDATE in the main DO-LOOP.
Any help is appreciated.