Text for hero kills

Jeeyo

New Member
Reaction score
3
I'm really trying to figure out this trigger for weeks but i really can't do so i want to ask how do you make triggers where a text will appear when you kill an enemy hero twice and different text will appear when you kill an enemy hero for the third time etc. tnx
 
D

DsD)Core(

Guest
Are you aiming for killing sprees (is on a killing spree, is owning, has a mega kill etc) or double/triple kill if he kills them within a specific period?
 

XxShadyxX

I abused the rep system.
Reaction score
81
Code:
Textkill
    Events
        Unit - A unit Dies
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Kills[(Player number of (Triggering player))] Equal to 1
            Then - Actions
                Game - Display to (All players) the text: you have died once!
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        Kills[(Player number of (Triggering player))] Equal to 2
                    Then - Actions
                        Game - Display to (All players) the text: Double Kill!
                    Else - Actions
Like this? you can also make all the messages preset in map int in a variable and it wil make it alot easier.
 

Jeeyo

New Member
Reaction score
3
i'm talking about the streaks in dota(killing spree,mega kill etc.) every time a hero kills an enemy hero.pls, if u know how to do it pls post a reply
 
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