# [Solved]Creeps Respawn Problem

#### pplDotA

Level 3
Hi Guys. I created this trigger for creating creeps on jungle areas for my map but creeps respawns but when creeps killed from a unit; they don't respawn again.

Do you know, why creeps don't respawn again?

Here is my triggers;

System Creep ( Trigger 1)
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Set neutralCreepCamp[1] = Creeps Farm 1 <gen>
Set neutralCreepCamp[2] = Creeps Farm 2 <gen>
Set neutralCreepCamp[3] = Creeps Farm 3 <gen>
Set neutralCreepCamp[4] = Creeps Farm 4 <gen>
Set neutralCreepCamp[5] = Creeps Farm 5 <gen>
Set neutralCreepCamp[6] = Creeps Respawn 6 <gen>
Set neutralCreepCamp[7] = Creeps Respawn 7 <gen>
Set neutralCreepCamp[8] = Creeps Respawn 8 <gen>
Set neutralCreepCamp[9] = Creeps Respawn 9 <gen>
Set neutralCreepCamp[10] = Creeps Respawn 10 <gen>
Set neutralCreepCamp[11] = Creeps Respawn 11 <gen>

Creep Respawn ( Trigger 2)
Events
Time - Elapsed game time is 60.00 seconds
Conditions
Actions
For each (Integer A) from 1 to 11, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in neutralCreepCamp[(Integer A)] matching (((Matching unit) is alive) Equal to True))) Equal to 0
Then - Actions
Set chance = (Random integer number between 1 and 4)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
chance Equal to 1
Then - Actions
Unit - Create 2 Ice Troll for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Unit - Create 1 Ice Troll Priest for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
chance Equal to 2
Then - Actions
Unit - Create 2 Ice Troll Warlord for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Unit - Create 1 Ice Troll High Priest for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
chance Equal to 3
Then - Actions
Unit - Create 2 Ice Troll Berserker for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Unit - Create 1 Ice Troll Trapper for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
chance Equal to 4
Then - Actions
Unit - Create 1 Giant Polar Bear for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Unit - Create 2 Ice Troll Warlord for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Unit - Create 1 Ice Troll High Priest for Neutral Hostile at (Center of neutralCreepCamp[(Integer A)]) facing Default building facing degrees
Else - Actions
Else - Actions

#### pplDotA

Level 3
I solved. I changed Time - Elapsed game time is 60.00 seconds to Time-Every 60 seconds of game time.

Replies
21
Views
420
Replies
3
Views
470
Replies
6
Views
209
Replies
15
Views
589
Replies
3
Views
526