Hi folks, I have an Insurgency server with a plugin that respawns bots. I get errors that bots are stuck, which indeed they are, and in some maps they don't move at all.
The original dev has tried to address this by using GetClientAbsOrigin and GetVectorDistance to then slay the bot if stuck. However, this doesn't really work properly.
I was wondering if there was a way to prevent them getting stuck or choosing where they spawn? Psychonic mentioned something to do with cvars for TF2, but I've got INS.
The link for that is
https://forums.alliedmods.net/showthread.php?t=302235
I'm attaching the source if anyone can help. The particular functions are Timer_CheckEnemyStatic and Timer_CheckEnemyAway.
Cheers,
Ozzy