-
Initialization
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


-------- --------
-


-------- Get Creeps --------
-


-------- --------
-


-------- set neutral creeps respawnand types (for both meele and ranged units) --------
-


Set neutralCreeps_respawntime = 1.00
-


Trigger - Add to Stronger Creep Respawns <gen> the event (Time - Every neutralCreeps_respawntime seconds of game time)
-


Set neutralCreeps_typeInt = (neutralCreeps_typeInt + 1)
-


Set neutralCreeps_meeleType[neutralCreeps_typeInt] = Peasant
-


Set neutralCreeps_typeInt = (neutralCreeps_typeInt + 1)
-


Set neutralCreeps_meeleType[neutralCreeps_typeInt] = Peon
-


Set neutralCreeps_typeInt = (neutralCreeps_typeInt + 1)
-


Set neutralCreeps_meeleType[neutralCreeps_typeInt] = Wisp
-


Set neutralCreeps_typeInt = (neutralCreeps_typeInt + 1)
-


Set neutralCreeps_meeleType[neutralCreeps_typeInt] = Acolyte
-


Set neutralCreeps_typeInt = (neutralCreeps_typeInt + 1)
-


Set neutralCreeps_meeleType[neutralCreeps_typeInt] = Mur'gul Slave
-


-------- set regions where creeps will be spawned --------
-


-------- generalint[1] is for storage groups and regions where creeps will be included --------
-


Set neutralCreeps_generalint[1] = (neutralCreeps_generalint[1] + 1)
-


Set neutralCreeps_regionsSpot[neutralCreeps_generalint[1]] = Region 009 <gen>
-


Set neutralCreeps_generalint[1] = (neutralCreeps_generalint[1] + 1)
-


Set neutralCreeps_regionsSpot[neutralCreeps_generalint[1]] = Region 010 <gen>
-


Set neutralCreeps_generalint[1] = (neutralCreeps_generalint[1] + 1)
-


Set neutralCreeps_regionsSpot[neutralCreeps_generalint[1]] = Region 011 <gen>
-


-------- create first wave of creeps --------
-


For each (Integer A) from 1 to neutralCreeps_generalint[1], do (Actions)
-



Loop - Actions
-




Unit - Create 1 neutralCreeps_meeleType[1] for Neutral Hostile at (Center of neutralCreeps_regionsSpot[(Integer A)]) facing Default building facing degrees
-




Unit Group - Add (Last created unit) to neutralCreeps_group[(Integer A)]
-




Unit - Create 1 neutralCreeps_meeleType[1] for Neutral Hostile at (Center of neutralCreeps_regionsSpot[(Integer A)]) facing Default building facing degrees
-




Unit Group - Add (Last created unit) to neutralCreeps_group[(Integer A)]
-
-
-
-
-
Stronger Creep Respawns
-

Events
-

Conditions
-

Actions
-


-------- [2] is to keep things working (used as base variable) --------
-


For each (Integer neutralCreeps_generalint[2]) from 1 to neutralCreeps_generalint[1], do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






(All units of neutralCreeps_group[neutralCreeps_generalint[2]] are dead) Equal to True
-
-





Then - Actions
-






Unit Group - Pick every unit in neutralCreeps_group[neutralCreeps_generalint[2]] and do (Actions)
-







Loop - Actions
-








For each (Integer B) from 1 to neutralCreeps_typeInt, do (Actions)
-









Loop - Actions
-










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











If - Conditions
-












(Unit-type of (Picked unit)) Equal to neutralCreeps_meeleType[(Integer B)]
-












((Integer B) + 1) Less than or equal to neutralCreeps_typeInt
-
-











Then - Actions
-












Unit - Create 1 neutralCreeps_meeleType[((Integer B) + 1)] for Neutral Hostile at (Center of neutralCreeps_regionsSpot[neutralCreeps_generalint[2]]) facing Default building facing degrees
-












Unit Group - Add (Last created unit) to neutralCreeps_group[neutralCreeps_generalint[2]]
-












Unit - Set the custom value of (Last created unit) to (Custom value of (Picked unit))
-












Unit Group - Remove (Picked unit) from neutralCreeps_group[neutralCreeps_generalint[2]]
-
-
-
-
-
-
-
-
-
-
-
-
if anyone can help with this.. i really think its a variable got out of its place but i cant find it and i really need to get this working
edit: removed disabled function





