I'm building and trying to combine the waves of spawning into 3 triggers like this:
1/ Set data of monsters, the amount of them...:
only 1st wave can spawn and the type of monters in this are messy which come from all types I declared above in unit
Hope sb help me!!!
1/ Set data of monsters, the amount of them...:
-
unit
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set Tempno = (Center of Region 001 <gen>)
-
Set Tempminh = (Center of Region 002 <gen>)
-
-------- ============wave1======== --------
-
Set unitType1[1] = Ghoul
-
Set unitAmount1[1] = 10
-
-------- ============wave 2 --------
-
Set unitType1[2] = Crypt Fiend
-
Set unitAmount1[2] = 10
-
-------- ============ --------
-
Set unitType1[3] = Skeleton Warrior
-
Set unitAmount1[3] = 10
-
-------- ============ --------
-
-
-
spawning
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Wait 15.00 seconds
-
For each (Integer A) from 1 to unitAmount1[int], do (Actions)
-
Loop - Actions
-
Unit - Create 1 unitType1[int] for Player 3 (Teal) at Tempno facing Default building facing degrees
-
AI - Ignore (Last created unit)'s guard position
-
Unit - Order (Last created unit) to Attack-Move To Tempminh
-
-
-
Trigger - Turn off (This trigger)
-
-
-
dieAll
-
Events
-
Player - Player 3 (Teal)'s Food used becomes Less than or equal to 5.00
-
-
Conditions
-
Actions
-
Set int = (int + 1)
-
Trigger - Turn on spawning <gen>
-
-


Hope sb help me!!!