Hello, I have made a Team Level trigger for my map, that works like this:
and HordeTeamLevel is equal to the (number of active players + the above integer) devided by the number of active players. The trigger seems to work, but it has a bug in this line
-
Team Level
-
Events
- Unit - A unit Gains a level
-
Conditions
- ((Triggering unit) is A Hero) Equal to True
-
Actions
- -------- Horde --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
-
Then - Actions
- Set HordeLevelCounter = (HordeLevelCounter + 1)
- Set HordeTeamLevel = ((HordePlayers + HordeLevelCounter) / HordePlayers)
- Else - Actions
-
If - Conditions
-
Events
and HordeTeamLevel is equal to the (number of active players + the above integer) devided by the number of active players. The trigger seems to work, but it has a bug in this line
- Set HordeLevelCounter = (HordeLevelCounter + 1)