hero kill texts

Jeeyo

New Member
Reaction score
3
i already posted this kind of tread(i think its just last week) but i didn't get much replies that i wanted so i'm asking it again.how do you make a trigger where a text will appear when a hero kills an opponent hero twice and another txt will appear when the killing hero killed an enemy hero thrice etc.(this is just like Dota's killing spree,mega kill etc.).
 

l0git3c

New Member
Reaction score
1
Code:
Kill
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is A Hero) Equal to True
    Actions
        Set Kills[(Player number of (Owner of (Dying unit)))] = 0
        Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Kills[(Player number of (Owner of (Killing unit)))] Equal to 3
            Then - Actions
                Game - Display to (All players) for 5.00 seconds the text: Killing Spree!
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Kills[(Player number of (Owner of (Killing unit)))] Equal to 4
                    Then - Actions
                        Game - Display to (All players) for 5.00 seconds the text: Dominating!
                    Else - Actions
                        -------- etc --------
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top