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.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: Roy