Ideas
nikgodda
4 months agoSeasoned Newcomer
did some research and this is what I found out:
- AISetUnspawnOnDead works as intended. but with a nuance
- if you set AISetUnspawnOnDead to true, spawn bot and kill it, bot will be unspawned from the server immediately
- if you set AISetUnspawnOnDead to false (default) bot will not be unspawned immediately after death but after delay set in SetUnspawnDelayInSeconds (default ~10s, max value 300s).
that means currently custom bot can not stay on the server longer than 300s after death
nikgodda
4 months agoSeasoned Newcomer
but still i don't understand the reason for this limitation. if you need permanent bot you have to respawn it every time game unspawns it and build a system to pass stats like kills, deaths, name etc to newly spawned bot