All I can think of now is to have each player hit a button called login, then create everything that is unique. Still cheesing, because if I every want to do anything else that is unique I need to find another trigger. It would be nice that once something is unique that I could then tell which player is which.
Here is a simple example, without using minerals and gas I wanted to display how much of a resource that player has. This will be unique per player and will change every 10 seconds, you get resources on a timer. These resources are in an array, I just need to grab the player number and display that value.
I would like to create a dialog for each player that will have there current stats, but in order to do this I need the player id. I plan to update once a second, so I can not use normal means like when a unit dies get player id or when a button is pressed get player id.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
All I can think of now is to have each player hit a button called login, then create everything that is unique. Still cheesing, because if I every want to do anything else that is unique I need to find another trigger. It would be nice that once something is unique that I could then tell which player is which.
Here is a simple example, without using minerals and gas I wanted to display how much of a resource that player has. This will be unique per player and will change every 10 seconds, you get resources on a timer. These resources are in an array, I just need to grab the player number and display that value.
I would like to create a dialog for each player that will have there current stats, but in order to do this I need the player id. I plan to update once a second, so I can not use normal means like when a unit dies get player id or when a button is pressed get player id.