i got a new question. I want to create an upgrade which should upgrade my base.
After the upgrade (duration about 30 seconds) finished, i want to place some units.
How to place the units isn´t my problem. I just don´t get how to trigger after an upgrade finished :-/
Is there any way to do this? I can´t find anything useful :-/
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
Then
_playersIngame +1
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)?
i´m currently building a little action map. For testing reasons, i wanted to create a trigger which
changes the current wave number by typing "cmd setWave $number". "$number" should be any integer.
How can i now find out which number the player typed? Is it possible?
0
Hello again,
i got a new question. I want to create an upgrade which should upgrade my base. After the upgrade (duration about 30 seconds) finished, i want to place some units.
How to place the units isn´t my problem. I just don´t get how to trigger after an upgrade finished :-/
Is there any way to do this? I can´t find anything useful :-/
Thx TBR
0
Thanks for the fast answers :) But doesn´t work at all...
1st: Number of Players (Active Players) returns 3, instead of 1. I made a workaround which works:
2nd: Progressabr.CurrentValue looks like galaxy script.. Which is the equivalent command block for it? Isn´t it:
3rd: Does anybody know why the fourth row in the ranklist is empty? :-/
Thanks :)
0
Hello,
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 Then _playersIngame +1
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)?
Thank you :) TBR
0
Thanks :) It works :)
0
Heyo,
i´m currently building a little action map. For testing reasons, i wanted to create a trigger which changes the current wave number by typing "cmd setWave $number". "$number" should be any integer.
How can i now find out which number the player typed? Is it possible?
Thanks :)