Is there a way to "delete" a route dynamically?
My map has 3 objectives and no respawning, so the "disable spawns" won't work for me.
Basically I want to remove the routes leading to an objective once it has been completed... is this possible?
Disabling routes?
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
It depends on what kind of route you mean, i.e. an AI path or a bot route.
An AI path can be disabled by using the disconnect_paths command (removes all paths intersecting the entity, e.g. $door disconnect_paths). A bot route can be disabled by clearing the route or routelist key of the destination. Example:
$bomb.routelist = NIL
Either way, when a bomb has exploded bots won't go to it anymore, since its priority automatically drops to zero.
An AI path can be disabled by using the disconnect_paths command (removes all paths intersecting the entity, e.g. $door disconnect_paths). A bot route can be disabled by clearing the route or routelist key of the destination. Example:
$bomb.routelist = NIL
Either way, when a bomb has exploded bots won't go to it anymore, since its priority automatically drops to zero.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
This is what I was looking for I guess... but my problem is probably not that they run to the bomb, but that the routes to the triggers wont work ... they just dont know where else to go i guessjv_map wrote:Either way, when a bomb has exploded bots won't go to it anymore, since its priority automatically drops to zero.

