]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 0de29af065b8bd274785902f077c9e8749bd51bb..dbe3197a7c97c0a6cbbe2e7e108281a4444adb5f 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);