This checks to see if any players are near the hole bot's brick. If the bot isn't attacking and there are no players in the range of the check, the bot will unspawn (and then respawn when there are players in the scan zone).
This is useful if you have RPGs, while this helps the ghosting become shorter (meaning that you shouldn't ghost a bot if no one is even close to it) of loading bricks.
Here is a
video for some more information.
Variables:
$Pref::Server::BotSpawnCheckMil - The tick to check if the players are in the area, default milliseconds is 5000.
$Pref::Server::BotSpawnCheckRange - How far the check will go from the spawn, default range is 10.
Download
Support_BotSpawnRange