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:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: Excalibur