Hi everyone,
I'm making a 4 forces map (1 user and 1 computer per forces) with pre-placed building.
I'm wondering, how can I detect if a player is IN the game, controlling a certain player X (because if no users / computers are choosed to be behind a player X, that player X will still be there, but he won't have a player name, even if a computer force will do few things with (like auto-attack)), and if he's not there, that I kill/remove his building (I know how to do this last part at least =S).
Thank you in advance, and I hope my question isn't stupid and understandable =S
I'm making a 4 forces map (1 user and 1 computer per forces) with pre-placed building.
I'm wondering, how can I detect if a player is IN the game, controlling a certain player X (because if no users / computers are choosed to be behind a player X, that player X will still be there, but he won't have a player name, even if a computer force will do few things with (like auto-attack)), and if he's not there, that I kill/remove his building (I know how to do this last part at least =S).
Thank you in advance, and I hope my question isn't stupid and understandable =S