Staredit Newtork
Community
StarCraft
Games
Site
Favourites
SPAWN PROBLEM, HELMS DEEP

Creator: 12egoldi
Time: Jan 12 2008, 9:40 pm

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

[Avatar]
 offline contact
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...
Top

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

[Avatar]
someone09
 offline contact
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.
(user posted image)
Top

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

[Avatar]
Taking StarCraft Modding to the Limit!
 offline contact
It's closer to being exactly 30 seconds with 357 deaths, if you don't have hyper triggers it will be exactly 15 deaths.
Top
0 members in this topic: None
+ 0 guest(s)


[12:16 pm]
MadZombie -- COPYRIGHTED yo
[12:16 pm]
MadZombie -- mah sleepy face
[12:16 pm]
MadZombie -- g_g
[08:28 am]
rockz -- Fuck you all I passed the FE.
[08:11 am]
madroc -- civils suck
[08:03 am]
KrayZee -- MillenniumArmy sux
[06:30 am]
scwizard[MM] -- Q.Q is much sader than qq
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions