From: TimePath Date: Sat, 17 Dec 2016 04:22:36 +0000 (+1100) Subject: Bots: add navigation_clearroute and goalcurrent to public API X-Git-Tag: xonotic-v0.8.2~370 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c276d688b45028e2b57f4505bd4f58342f11309a;p=xonotic%2Fxonotic-data.pk3dir.git Bots: add navigation_clearroute and goalcurrent to public API --- diff --git a/qcsrc/server/bot/api.qh b/qcsrc/server/bot/api.qh index 0de29af06..dbe3197a7 100644 --- a/qcsrc/server/bot/api.qh +++ b/qcsrc/server/bot/api.qh @@ -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);