Vulcansurge
Ultra Cool Member
- Reaction score
- 27
Code:
spawnwolves
Events
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green)) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gamelevelInt Equal to 1
Then - Actions
For each (Integer A) from 1 to 70, do (Actions)
Loop - Actions
Unit - Create 1 Wolf for Player 11 (Dark Green) at (Random point in playablearea <gen>) facing (Random angle) degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gamelevelInt Equal to 2
Then - Actions
For each (Integer A) from 1 to 105, do (Actions)
Loop - Actions
Unit - Create 1 Wolf for Player 11 (Dark Green) at (Random point in playablearea <gen>) facing (Random angle) degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
gamelevelInt Equal to 3
Then - Actions
For each (Integer A) from 1 to 160, do (Actions)
Loop - Actions
Unit - Create 1 Wolf for Player 11 (Dark Green) at (Random point in playablearea <gen>) facing (Random angle) degrees
Else - Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Game - Victory (Picked player) (Show dialogs, Skip scores)
something in this is creating a continuous loop and slowing down my computer to 1 FPS. I know it has leaks, but could that be the problem or is it something obvious?