Well, I've adapted Frikbots to play TF, and many maps have these doors or elevators that only work for one team. I've added two new b_aiflags to the waypoints (AI_BLUE_ONLY/RED_ONLY) and set the priority to zero on priority_for_thing() if the teams don't match, but it wasn't enough. I guess I have to do something on their route finding code, and I'm having a little trouble understanding that code, how can I make the bots take another route if on the route they're trying to go has team-specific waypoints for the enemy team? This happens everytime on the wall map, the huge map with two bridges on the outside, and near the flagroom has two elevators... the bots have trouble when they get the enemy flag and try to use the elevators and get stuck there until they get killed.Is there a way to modify this? Any help appreciated.