Double/Triple kill trigger

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
So where is your trigger so we can help you with it
 

ArmyOfFrogs

New Member
Reaction score
20
A, you shouldn't hack. B, it gives you JASS when you do that so he wouldn't learn anything. Have a variable called killstreak, which is an integer and an array size how ever many players there are in your map.

*erased trigger*
edit : Doh too early, thought you meant like killing spree :[ I'll write it once i get back from classes if someone else already hasn't; sorry D:
 

Jayykob

New Member
Reaction score
1
I didn't mean killing spree trigger, but I want to learn that too ^^ rep+ for you if u show me ^^
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Well Something like this
Trigger:
  • TH
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set Integer[1] = (Integer[1] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Integer[1] Equal to 2
        • Then - Actions
          • Game - Display to (Player group((Owner of (Killing unit)))) for 30.00 seconds the text: Double Kill
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Integer[1] Equal to 3
            • Then - Actions
              • Game - Display to (Player group((Owner of (Killing unit)))) for 30.00 seconds the text: Triple Kill
            • Else - Actions
      • Countdown Timer - Start Timer[1] as a One-shot timer that will expire in 10.00 seconds

Trigger:
  • Hi
    • Events
      • Time - Timer[1] expires
    • Conditions
    • Actions
      • Set Integer[1] = 0
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
But this is only for show it doesnt work properly you will need to make it mpi
Like This
Trigger:
  • TH
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set Integer[(Player number of (Owner of (Killing unit)))] = (Integer[(Player number of (Owner of (Killing unit)))] + 1)
      • Set Integer[((Player number of (Owner of (Killing unit))) + 12)] = (Player number of (Owner of (Killing unit)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Integer[(Player number of (Owner of (Killing unit)))] Equal to 2
        • Then - Actions
          • Game - Display to (Player group((Owner of (Killing unit)))) for 30.00 seconds the text: Double Kill
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Integer[(Player number of (Owner of (Killing unit)))] Equal to 2
            • Then - Actions
              • Game - Display to (Player group((Owner of (Killing unit)))) for 30.00 seconds the text: Triple Kill
            • Else - Actions
      • Countdown Timer - Start Timer[(Player number of (Owner of (Killing unit)))] as a One-shot timer that will expire in 10.00 seconds

But im not sure how to make the timer thing MPI
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
What thats not true is was made from scratch and its in the map list at the top
 
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