I want to make it so that when a player (red,blue,teal, so on...) Kills some other unit (neutral hostile). A integer variable goes up. Taht variable would be my kill count. How do I trigger this?
First, create a new Integer variable with an array (Called "KillCount" in the trigger below ).
Then, create a trigger with the event "A unit Dies" and add the conditions:
Trigger:
(Killing unit) is A hero Equal to True
(Triggering unit) belongs to an enemy of (Owner of (Killing unit))
And then use this action:
Trigger:
Set KillCount[Player number of (Owner of (Killing unit))] = (KillCount[Player number of (Owner of (Killing unit))] + 1)
And there you have it, now the variable "KillCount[<Insert player number here>]" will be the container of the amount of kills
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!
I just got to watch the video because even though I was there I was trying to work out tech problems with the chat since I was the social media guy so I was distracted but check it out guys the video is super fucking great!