I am making a map where the players are supposed to defend a base, and I need the attackers to "evolve". I cant just have 2 zerglings spawning every 5 seconds for the duration of the entire map. I have been trying to delay a trigger so that it wont start its periodic spawning until later in the game. But it cant make it work. Does anyone have any idea of how I can do this? The idea is to first have 2 zerglings spawn, then 2 more zerglings spawn and then those 4 zerglings and a hydralisk and so on. So that the attack waves grow, and become harder. I dont want the same mobs spawning all the time with just increased life (handicap).
So, anyone got any hints?
(I've tried making a one-shot trigger start another trigger but it doesent seem to work)
Plox help.
All help will be greatly appreciated :)
Some problems appears with the "Periodic" system. So, 2 ways exists :
First Way
Turning on/off the trigger to execute periodic actions when you want.
But... If you enable the trigger 1 second before the periodic event, it's will be problem.
For example:
00'10" Trigger-1 Periodic Event (10 seconds) but Trigger is OFF. Don't make actions.
00'19" Trigger-2 Action Trigger ON.
00'20" Trigger-1 Periodic Event (10 seconds) but Trigger is ON. Make actions.
But... If you want to make the actions 10 seconds AFTER the Trigger-2, and after that, each 10 seconds after the last execution of Trigger-1... You will need the second way.
Second Way
The goal is using the recursive call system.
Example:
00'10" Trigger-2 Action Wait 10 seconds.
00'20" Trigger-2 Action Exec Trigger-1
00'20" Trigger-1 Actions...
00'20" Trigger-1 Action Wait 10 seconds.
00'30" Trigger-1 Action Exec Trigger-1
00'30" Trigger-1 Actions...
00'30" Trigger-1 Action Wait 10 seconds.
(...)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am making a map where the players are supposed to defend a base, and I need the attackers to "evolve". I cant just have 2 zerglings spawning every 5 seconds for the duration of the entire map. I have been trying to delay a trigger so that it wont start its periodic spawning until later in the game. But it cant make it work. Does anyone have any idea of how I can do this? The idea is to first have 2 zerglings spawn, then 2 more zerglings spawn and then those 4 zerglings and a hydralisk and so on. So that the attack waves grow, and become harder. I dont want the same mobs spawning all the time with just increased life (handicap).
So, anyone got any hints?
(I've tried making a one-shot trigger start another trigger but it doesent seem to work)
Plox help. All help will be greatly appreciated :)
Flaffen
@Flaffen: Go
turn off the trigger in the GUI and use the turn trigger on action to enabled your periodic trigger.
Some problems appears with the "Periodic" system. So, 2 ways exists :
First Way
Turning on/off the trigger to execute periodic actions when you want.
But... If you enable the trigger 1 second before the periodic event, it's will be problem.
For example:
But... If you want to make the actions 10 seconds AFTER the Trigger-2, and after that, each 10 seconds after the last execution of Trigger-1... You will need the second way.
Second Way
The goal is using the recursive call system. Example: