SPAWN PROBLEM
Jan 12 2008, 9:40 pm
By: 12egoldi  

Jan 12 2008, 9:40 pm 12egoldi Post #1



im sorry, i feel very, very noob saying this but i need a little help on how to make a periodic spawn trigger. Well, first of all i said

Cond.: Switch 1 is set
Act.: Create 15 uruk hai at spawn 1 for player 5
clear Switch 1
Preserve trigger

TRIGGER 2:
Always
Act.: Wait 30000 miliseconds (30 sec)
Set switch 1
preserve trigger

I dont want to write it in the form "elapsed time is " 30 seconds...and shit like that...itll take too long....

Please welp...



None.

Jan 12 2008, 10:15 pm who Post #2



that should work, but you cannot have any other wait actions running at the same time for the players owning these spawn triggers, or you will get wait blocks.

if these players need other waits, then use death counters instead (these death amounts assume you have hyper triggers)

example:

C:
p5 has suffered at most 359 deaths of goliath turret
A:
preserve trigger
add one death of goliath turret for p5

C:
p5 has suffered exactly 360 deaths of goliath turret
A:
preserve trigger
set deaths of goliath turret to 0 for p5
create 15 uruk hai at spawn 1 for player 5

with hyper triggers, triggers will execute 12 times every second (realtime), so 360 deaths ends up as 30 seconds, which is the equivalent of your wait(30000).
if you do not have hyper triggers, you will have much less deaths, but i'm not sure how fast they run exactly.



None.

Jan 12 2008, 11:00 pm Falkoner Post #3



It's closer to being exactly 30 seconds with 357 deaths, if you don't have hyper triggers it will be exactly 15 deaths.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:24 am]
anoeth47 -- Sie_Sayoka >>> Thanks!!! Got the png's to show up in Map Showcase
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
Please log in to shout.


Members Online: Tirade