Bots: add navigation_clearroute and goalcurrent to public API
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 17 Dec 2016 04:22:36 +0000 (15:22 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 17 Dec 2016 04:22:36 +0000 (15:22 +1100)
qcsrc/server/bot/api.qh

index 0de29af..dbe3197 100644 (file)
@@ -85,3 +85,6 @@ void waypoint_spawnforitem_force(entity e, vector org);
 void waypoint_spawnforteleporter(entity e, vector destination, float timetaken);
 void waypoint_spawnforteleporter_v(entity e, vector org, vector destination, float timetaken);
 entity waypoint_spawn(vector m1, vector m2, float f);
+
+.entity goalcurrent;
+void navigation_clearroute(entity this);