• 0

    posted a message on Place unit after upgrade finished

    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

    Posted in: Triggers
  • 0

    posted a message on Questions about Ranklist and Players

    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:

                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Controller of player (Picked player)) == User
                            (Status of player (Picked player)) == Playing
                        Then
                            Variable - Modify playersIngame: + 1
    

    2nd: Progressabr.CurrentValue looks like galaxy script.. Which is the equivalent command block for it? Isn´t it:

            Leaderboard - Set killTable item progress value at column 2 and row 2 to ((Unit type of Human Base [32.50, 31.50]) Life (Percent))
    

    3rd: Does anybody know why the fourth row in the ranklist is empty? :-/

    Thanks :)

    Posted in: Triggers
  • 0

    posted a message on Questions about Ranklist and Players

    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

    Posted in: Triggers
  • 0

    posted a message on Arguments in chat-inputs

    Thanks :) It works :)

    Posted in: Triggers
  • 0

    posted a message on Arguments in chat-inputs

    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 :)

    Posted in: Triggers
  • To post a comment, please or register a new account.