MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / FindNearbyRetreatSpot

Function FindNearbyRetreatSpot

game_shared/bot/nav_area.cpp:3420–3470  ·  view source on GitHub ↗

Select a nearby retreat spot. Don't pick a hiding spot that a Player is currently occupying. If "avoidTeam" is nonzero, avoid getting close to members of that team.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

SearchSurroundingAreasFunction · 0.85
IsCrossingLineOfFireFunction · 0.85
UTIL_GetClosestPlayerFunction · 0.85
RANDOM_LONGFunction · 0.85
RemoveSpotMethod · 0.80

Tested by

no test coverage detected