for my map i need to know how many players actually play.
The map supports max. 4 players. The difficulty is dynamically related to the number of players.
I tried the following trigger:
For every player in (All Players)
If (Controller of (Selected Player)) == User
If (Status of (Selected Player)) == Playing
But the game always sets the variable to 4. Why is this so?
What else condition could i set?
Next question. I got a ranklist. In the second line, there should be a progress bar which shows how much life
the base-building has.
Every second I update the ranklist with: Set Progressvalue for killTable in column 2 and row 2 to ((Unitname of HumanBase [...] HP (Percent))
But ingame the progress bar never changes :-(
Also the 4th row won´t be displayed. I´ll set it like every other text:
Set Text in killTable col 2 and row 4 as "Kills"
Set Text int kilLTable col 3 and row 4 as "Budget"
But ingame there are just empty fields, no text :-/
EDIT: Another little question. How can i get the player who killed a unit (using the Any unit died - event)?