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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Oh_Man