This has a multitude of uses if we can get it working right, servers where when a player disconnects, the bot takes over to maintain continues teamcount, where a player can become "rabid" or what have you and loose control temporarily, etc.
I am right in suspecting that AIplayer is just an inherited player with additional functionality to run on it's own?
Thus it has no associated client, wherin if you assign a client to that aiplayer, you can override the commands, and that works fine and dandy in all my tests. But I am having trouble achieving the reverse.
My best guess right now is that I have to just copy all the information from the player, delete it, spawn a AI player of duplicate information, and mount the camera to that ai player until the duration expires, and then switch it all back. I can see this causing alot of problems though if used with other mods that might override the spawnfunction to determine scoring or whatever.
Is there anyway to dynamically apply the components to make the player act through standard AI without having to basically overwrite all the holebot package components to also include players under the circumstance they are lacking a client? I mean thats doable but rather bulky for the smallscale unobtrusive implementation I was hoping for.