Event
A unit dies
Condition
[I]Whatever thing you want to add[/I]
Action
Set Integer_Var = 0 <-- [I]Not so necessary but just for clarity[/I]
For every Integer A loop from 1 to 4 do actions
Loop - Actions
If then else conditions
Condition
Your_Kill_Integer_Array[Integer A] Greater than Integer_Var
Then
Set Integer_Var = Your_Kill_Integer_Array[Integer A]
Else
For every Integer A loop from 1 to 4 do actions
Loop - Actions
If then else conditions
Condition
Your_Kill_Integer_Array[Integer A] Equal to Integer_Var
Then
Game - Make Player[Integer A] Victorious
Else
Event
A unit dies
Condition
Whatever thing you want to add
Action
Set Integer_Var = 0 <-- Not so necessary but just for clarity
For every Integer A loop from 1 to 4 do actions
Loop - Actions
If then else conditions
Condition
Your_Kill_Integer_Array[Integer A] Greater than Integer_Var
Then
Set Integer_Var = Your_Kill_Integer_Array[Integer A]
Else
For every Integer A loop from 1 to 4 do actions
Loop - Actions
If then else conditions
Condition
Your_Kill_Integer_Array[Integer A] Equal to Integer_Var
Then
Game - Make Player[Integer A] Victorious
-[I]Your other actions for [B]winning[/B] players is here[/I]-
Else
-[I]Your other actions for [B]losing[/B] players is here[/I]-