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.
[08:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[08:03 pm]
lil-Inferno -- u
[07:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[06:55 am]
UndeadStar -- :wob:
[02:28 am]
Symmetry -- :wob:
[2026-10-29. : 9:17 pm]
RIVE -- :wob:
[2026-10-29. : 7:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[2026-10-29. : 4:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
[2026-10-28. : 6:52 pm]
lil-Inferno -- UndeadStar
UndeadStar shouted: https://www.youtube.com/watch?v=rbChzMFX0mE <= I wonder if that will attract new players to SC1&2 ?
:doubt:
Please log in to shout.


Members Online: ihjel, DarkenedFantasies