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.
Team Win

Events


Unit - A unit Dies

Conditions

Actions


Set BooleanArray[(Player number of (Triggering player))] = True


-------- Below this line there are Team 1 actions --------


For each (Integer A) from 1 to 4, do (Actions)



Loop - Actions




-------- change 1 - 4 to amount of players in team 1. --------




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





If - Conditions






BooleanArray[(Integer A)] Equal to True





Then - Actions






Set Integer = (Integer + 1)





Else - Actions


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



If - Conditions




Integer Equal to 4



Then - Actions




-------- Team 2 won actions! --------



Else - Actions


-------- Below this line there are Team 2 actions --------


For each (Integer B) from 5 to 8, do (Actions)



Loop - Actions




-------- change 5 - 8 to amount of players in team 2. --------




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





If - Conditions






BooleanArray[(Integer B)] Equal to True





Then - Actions






Set Integer = (Integer + 1)





Else - Actions


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



If - Conditions




Integer Equal to 4



Then - Actions




-------- Team 1 won actions! --------



Else - Actions
its not really wrong..
hes original question was this:
how can i make that when a team (1-4) wins the duel when opossite teams players are all dead?
Arena

Events


Unit - A unit Dies

Conditions


ArenaTime Equal to 1

Actions


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



If - Conditions




Team2AP Equal to 0



Then - Actions




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





If - Conditions






Team3AP Equal to 0





Then - Actions






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







If - Conditions








Team4AP Equal to 0







Then - Actions








Set Team1Win = 1







Else - Actions





Else - Actions



Else - Actions


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



If - Conditions




Team1Win Equal to 1



Then - Actions




Game - Display to (All players) the text: Team 1 wins the Are...



Else - Actions
