Hi,
I have a game in which there are about 30-40 AI's which will be walking and dancing randomly in the map. Now, I need to sync all the AI's event to all the remote systems. If I use one of the client to control the entire AI in all the clients, then who will control those AI if the client goes offline or in background. I might change the control to other clients before going in background. But, how will I know, while setting the master client to the other player, that he is in background or foreground.
I have a game in which there are about 30-40 AI's which will be walking and dancing randomly in the map. Now, I need to sync all the AI's event to all the remote systems. If I use one of the client to control the entire AI in all the clients, then who will control those AI if the client goes offline or in background. I might change the control to other clients before going in background. But, how will I know, while setting the master client to the other player, that he is in background or foreground.