Lord_Kakashi
The Wabbits are attacking
- Reaction score
- 27
Okay so the trigger is supposed to run in a loop "For each integer a 1 to variable"
but the loop only runs once.. any ideas?
The second loop inside the primary loop is for the amount of players 1 through 8.
but the loop only runs once.. any ideas?
Code:
Spawn
Events
Conditions
Actions
For each (Integer A) from 1 to NumWaves[Level], do (Actions)
Loop - Actions
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) controller) Equal to User
((Player((Integer A))) slot status) Equal to Is playing
Then - Actions
Unit - Create NumSpawn[Level] MonType[Level] for Player 12 (Brown) at (Center of regions[(Integer A)]) facing Default building facing degrees
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Power((Real(CosmeticLevel)), 2.00)) + 3.00)
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) x bossmodifier[Level])
Else - Actions
Do nothing
The second loop inside the primary loop is for the amount of players 1 through 8.