• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger Request] for DotA players

Status
Not open for further replies.
Level 1
Joined
Apr 13, 2009
Messages
4
Hey guys.. For the DotA players and those who are interested in making maps based on Dota, could I request the triggers for the Sentinel/Scourge kills? (First Blood, Killing Spree, Dominating, etc.)

I found out that the template I was using didn't use the triggers that are up to date. So, for those who are willing to help me, thanks a lot. :grin:

That's all I have to request for.:smile::smile::smile:


(If you're wondering why I won't edit it, it's because I don't know too much about triggers just yet. Just started map making recently :smile::smile:)
 
Level 6
Joined
Apr 24, 2008
Messages
174
Made an easy trigger for this, needs some editing, but it has what you wanted..
What you will need to do, is download CounterStrike's Killing Spree, Multikill and so on, sounds. Search em up on google if you dont allready have them. (If you have counterstrike, you can check the "Sounds" folder and find the sounds there)

So heres the trigger:
  • Hero Death
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set Heroes_Killed[(Player number of (Owner of (Killing unit)))] = (Heroes_Killed[(Player number of (Owner of (Killing unit)))] + 1)
      • Set Heroes_Killed[(Player number of (Owner of (Dying unit)))] = 0
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Heroes_Killed[(Player number of (Owner of (Killing unit)))] Equal to 3
        • Then - Actions
          • -------- Killing Spree --------
          • Sound - Play Killing Spree <gen>
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Heroes_Killed[(Player number of (Owner of (Killing unit)))] Equal to 4
            • Then - Actions
              • -------- Multikill --------
              • Sound - Play Multikill <gen>
            • Else - Actions
What you do here, is that you add numbers of heres killed and play an sound.
Add more "If Then Else" actions for like Monser Kill and so on...

I can maby make an more advanced system of this later.
 
Status
Not open for further replies.
Top