- Joined
- Mar 23, 2008
- Messages
- 1,805
I am currently trying to make a creepwave/spawning system for my map. But it does not seem to work, it does not spawn any creeps at all, and I can't find the reason as to why it doesn't. Perhaps one of you does. Main triggers down below, but I attached the map as well if you would rather take a look at it.
Edit: removed the attached map.
-
Initialization
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


-------- Set up region variables --------
-


Set Team1Spawncreeps = Team 1 Gold CreepSpawn <gen>
-


Set Team2Spawncreeps = Team 2 Gold CreepSpawn <gen>
-


Set Team1creepmove = Team1GoldCreepMovepoint <gen>
-


Set Team2creepmove = Team2GoldCreepMovepoint <gen>
-


-------- Start income --------
-


Set Player_income[1] = 10
-


Set Player_income[2] = 10
-


Set Player_income[3] = 10
-


Set Player_income[4] = 10
-


Set Player_income[5] = 10
-


Set Player_income[6] = 10
-


Set Player_income[7] = 10
-


Set Player_income[8] = 10
-


-------- Give start resources --------
-


Player Group - Pick every player in (All players) and do (Actions)
-



Loop - Actions
-




Player - Add 200 to (Picked player) Current gold
-




Player - Add 100 to (Picked player) Current lumber
-
-
-


-------- Turn off fog of war --------
-


Visibility - Disable fog of war
-


Visibility - Disable black mask
-


-------- Turn on Bounty --------
-


Player - Turn Gives bounty On for Player 11 (Dark Green)
-


Player - Turn Gives bounty On for Player 12 (Brown)
-


-------- Creepwave_variables setup --------
-


Set Level_Var = 0
-


-------- LEVEL 1 --------
-


-------- unit type --------
-


Set Unit_type[1] = Quilbeast (LEVEL 1)
-


-------- number of units --------
-


Set Unit_Integer[1] = 20
-


-------- LEVEL 2 --------
-


-------- unit type --------
-


Set Unit_type[2] = Hawk (LEVEL 2)
-


-------- number of units --------
-


Set Unit_Integer[2] = 20
-


-------- LEVEL 3 --------
-


-------- unit type --------
-


Set Unit_type[3] = Bear (LEVEL 3)
-


-------- number of units --------
-


Set Unit_Integer[3] = 20
-


-------- LEVEL 4 --------
-


-------- unit type --------
-


Set Unit_type[4] = Dragon Turtle (LEVEL 4)
-


-------- number of units --------
-


Set Unit_Integer[4] = 20
-


-------- LEVEL 5 --------
-


-------- unit type --------
-


Set Unit_type[5] = Beastmaster (LEVEL 5)
-


-------- number of units --------
-


Set Unit_Integer[5] = 1
-
-
-
Wave timer
-

Events
-


Time - Elapsed game time is 1.00 seconds
-
-

Conditions
-

Actions
-


Countdown Timer - Start roundwindow as a Repeating timer that will expire in 40.00 seconds
-


Set Roundwindow_Var = (Last started timer)
-


Countdown Timer - Create a timer window for (Last started timer) with title Next wave:
-


Player Group - Pick every player in (All players) and do (Countdown Timer - Show (Last created timer window) for (Picked player))
-
-
-
Timer expires
-

Events
-


Time - Roundwindow_Var expires
-
-

Conditions
-

Actions
-


Set Level_Var = (Level_Var + 1)
-


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



If - Conditions
-




Level_Var Equal to 1
-
-



Then - Actions
-




Game - Display to (All players) the text: Level 1 - 20 Quilbe...
-




Trigger - Turn on Creep Creation <gen>
-
-



Else - Actions
-




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





If - Conditions
-






Level_Var Equal to 2
-
-





Then - Actions
-






Game - Display to (All players) the text: Level 2 - 20 Hawks,...
-






Trigger - Turn on Creep Creation <gen>
-
-





Else - Actions
-






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







If - Conditions
-








Level_Var Equal to 3
-
-







Then - Actions
-








Game - Display to (All players) the text: Level 3 - 20 Bears,...
-








Trigger - Turn on Creep Creation <gen>
-
-







Else - Actions
-








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









If - Conditions
-










Level_Var Equal to 4
-
-









Then - Actions
-










Game - Display to (All players) the text: Level 4 - 20 Dragon...
-










Trigger - Turn on Creep Creation <gen>
-
-









Else - Actions
-










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











If - Conditions
-












Level_Var Equal to 5
-
-











Then - Actions
-












Game - Display to (All players) the text: Level 5 BOSS - 1 Be...
-












Trigger - Turn on Creep Creation <gen>
-
-











Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
Creep Creation
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


Set Team1Spawncreeps = Team 1 Gold CreepSpawn <gen>
-


Set Team2Spawncreeps = Team 2 Gold CreepSpawn <gen>
-


-------- Unit-Creation --------
-


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



If - Conditions
-




Unit_Integer[Level_Var] Greater than 0
-
-



Then - Actions
-




Set Unit_Integer[Level_Var] = (Unit_Integer[Level_Var] - 1)
-




Unit - Create 1 Unit_type[Level_Var] for Player 11 (Dark Green) at (Random point in Team2Spawncreeps) facing (Center of Team2creepmove)
-




Unit - Create 1 Unit_type[Level_Var] for Player 12 (Brown) at (Random point in Team1Spawncreeps) facing (Center of Team1creepmove)
-
-



Else - Actions
-




Trigger - Turn off (This trigger)
-
-
-


Set Team2CreepGroup = (Units in Team2Spawncreeps owned by Player 11 (Dark Green))
-


Set Team1CreepGroup = (Units in Team1Spawncreeps owned by Player 12 (Brown))
-


-------- Unit-move --------
-


Unit Group - Pick every unit in Team1CreepGroup and do (Unit - Order (Picked unit) to Attack-Move To (Center of Team1creepmove))
-


Unit Group - Pick every unit in Team2CreepGroup and do (Unit - Order (Picked unit) to Attack-Move To (Center of Team2creepmove))
-


-------- Clear Leaks --------
-


Set Team1Spawncreeps = No region
-


Set Team2Spawncreeps = No region
-
-
Last edited:


