- Joined
- Jun 14, 2008
- Messages
- 72
today i made the multiple creep spawn system falloing the tutorial i dont know if i made an error on the way or what but it didnt work...so i was wondering if theres a place in have where i could just import it...
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Untitled Trigger 004

Events


Time - Roundwindow expires

Conditions

Actions


Set lvl_num = (lvl_num + 1)


For each (Integer A) from 1 to Unit_amount[lvl_num], do (Actions)



Loop - Actions




Set incrementx = 1




Set incrementy = 1




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





Loop - Actions






Unit - Create 1 unit_type[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees






Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))






Unit - Create 1 unit_type[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees






Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))






Set incrementx = (incrementx + 1)






Set incrementy = (incrementy + 2)






Wait 0.75 seconds






For each (Integer A) from 1 to Unit_Amount_Var_3[lvl_num], do (Actions)







Loop - Actions








Set incrementx = 1








Set incrementy = 1








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









Loop - Actions










Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees










Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))










Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees










Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))










Set incrementx = (incrementx + 1)










Set incrementy = (incrementy + 2)










Wait 0.75 seconds










For each (Integer A) from 1 to Unit_Amount_Var_3[lvl_num], do (Actions)











Loop - Actions












Set incrementx = 1












Set incrementy = 1












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













Loop - Actions














Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees














Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))














Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees














Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))














Set incrementx = (incrementx + 1)














Set incrementy = (incrementy + 2)














Wait 0.75 seconds














For each (Integer A) from 1 to Unit_Amount_var_2[lvl_num], do (Actions)















Loop - Actions
















Set incrementx = 1
















Set incrementy = 1
















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

















Loop - Actions


















Unit - Create 1 unit_type_var_2[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees


















Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))


















Unit - Create 1 unit_type_var_2[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees


















Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))


















Set incrementx = (incrementx + 1)


















Set incrementy = 1
test

Events

Conditions

Actions


Game - Display to (All players) the text: Countdown Started


Countdown Timer - Start Roundwindow as a Repeating timer that will expire in 60.00 seconds


Set Roundwindow = (Last started timer)


Countdown Timer - Create a timer window for (Last started timer) with title Enemy Wave In...
timer expires

Events


Map initialization

Conditions

Actions


Set lvl_num = 0


Set lvl_num = 1


Set unit_type[1] = Soldier


Set unit_type_var_2[1] = Giant


Set Unit_type_var_3[1] = Bomb Straper


Set Unit_amount[1] = 3


Set Unit_Amount_var_2[1] = 1


Set Unit_Amount_Var_3[1] = 1


Set lvl_num = 2


Set unit_type[2] = Soldier


Set Unit_type_var_3[2] = Bomb Straper


Set unit_type_var_2[2] = Giant


Set Unit_amount[2] = 2


Set Unit_Amount_var_2[2] = 1


Set Unit_Amount_Var_3[2] = 3


Set lvl_num = 3


Set unit_type[3] = Soldier


Set unit_type_var_2[3] = Giant


Set Unit_type_var_3[3] = Bomb Straper


Set Unit_amount[3] = 2


Set Unit_Amount_var_2[3] = 4


Set Unit_Amount_Var_3[3] = 4
spawn

Events


Map initialization

Conditions

Actions


Set location_var[1] = (Random point in Region 002 <gen>)


Set location_var[2] = (Random point in Region 002 <gen>)


Set location_var[3] = (Random point in Region 002 <gen>)


Set location_var[4] = (Random point in Region 002 <gen>)


Set location_var[5] = (Random point in Region 002 <gen>)


Set location_var[6] = (Random point in Region 002 <gen>)


Set location_var[7] = (Random point in Region 002 <gen>)


Set location_var[8] = (Random point in Region 002 <gen>)
Untitled Trigger 004

Events


Time - Roundwindow expires

Conditions

Actions


Set lvl_num = (lvl_num + 1)


For each (Integer A) from 1 to Unit_amount[lvl_num], do (Actions)



Loop - Actions




Set incrementx = 1




Set incrementy = 1




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





Loop - Actions






Unit - Create 1 unit_type[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees






Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))






Unit - Create 1 unit_type[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees






Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))






Set incrementx = (incrementx + 1)






Set incrementy = (incrementy + 2)






Wait 0.75 seconds






For each (Integer A) from 1 to Unit_Amount_Var_3[lvl_num], do (Actions)







Loop - Actions








Set incrementx = 1








Set incrementy = 1








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









Loop - Actions










Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees










Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))










Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees










Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))










Set incrementx = (incrementx + 1)










Set incrementy = (incrementy + 2)










Wait 0.75 seconds










For each (Integer A) from 1 to Unit_Amount_Var_3[lvl_num], do (Actions)











Loop - Actions












Set incrementx = 1












Set incrementy = 1












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













Loop - Actions














Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees














Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))














Unit - Create 1 Unit_type_var_3[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees














Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))














Set incrementx = (incrementx + 1)














Set incrementy = (incrementy + 2)














Wait 0.75 seconds














For each (Integer A) from 1 to Unit_Amount_var_2[lvl_num], do (Actions)















Loop - Actions
















Set incrementx = 1
















Set incrementy = 1
















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

















Loop - Actions


















Unit - Create 1 unit_type_var_2[lvl_num] for Player 12 (Brown) at location_var[incrementy] facing Default building facing degrees


















Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))


















Unit - Create 1 unit_type_var_2[lvl_num] for Player 12 (Brown) at location_var[(incrementy + 1)] facing Default building facing degrees


















Unit - Order (Last created unit) to Attack-Move To (Center of (Playable map area))


















Set incrementx = (incrementx + 1)


















Set incrementy = 1