Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
KillCounter

Events


Unit - A unit Dies

Conditions

Actions


Set PlayerKills[(Player number of (Owner of (Killing unit)))] = (PlayerKills[(Player number of (Owner of (Killing unit)))] + 1)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




PlayerKills[(Player number of (Owner of (Killing unit)))] Equal to numberOfKillsYouWant



Then - Actions




Set SpawnUnit = Unit-Type you want to send



Else - Actions
(basic) GUI is SOOOOOO simple if u just use your brain. (and if you try yourself to find a solution)
In you spawn trigger you must set the units created to unit-type SpawnUnit
KillCounter
Events
Unit - A unit Dies
Conditions
Actions
Set PlayerKills[(Player number of (Owner of (Killing unit)))] = (PlayerKills[(Player number of (Owner of (Killing unit)))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PlayerKills[(Player number of (Owner of (Killing unit)))] Equal to numberOfKillsYouWant
Then - Actions
Set SpawnUnit = Unit-Type you want to send
Else - Actions
Try to understand what it does or you will have to keep asking questions.



Kill Tracker:

Events:


Unit - A unit dies.

Conditions:


(Owner of (Killing Unit) Equal to Player 1 (Red)

Actions:


Set Kill_Tracker = Kill_Tracker + 1





You could have just refreshed the page -.-

