Staredit Network

Staredit Network -> UMS Assistance -> Help with Spawning Units
Report, edit, etc...Posted by Staredit.Net Essence on 2004-10-05 at 23:52:31
I'm making a map where I want units to spawn every 30 seconds or so, different units for each player, so different triggers for each player.

But when I use the wait 30000 milliseconds command on these triggers, they end up causing me to wait a LOT longer, because each wait command prevents other triggers from occuring.

Is there a way for me to spawn units every 30 seconds without a wait command?
Report, edit, etc...Posted by xtremebob on 2004-10-06 at 01:02:05
They should spawn every 30 seconds I just made a quick map doing what you want to do and I was only able to count up to 23 seconds before a unit showed up.
What I did is:

Trigger
Conditions:
¤ Elasped time is exactly 0 game seconds
Actions:
¤ create 1 unit x at location x


Trigger
Conditions:
¤ Always
Actions:
¤ Wait 30000 milliseconds
¤ create unit x at location x
¤ preserve trigger


The first one is for the first unit that will show up. If it still is over 30 seconds that you are wait for the unit to show up, you have either one too many zeroes on your trigger, or I have no idea what wrong with it.
Report, edit, etc...Posted by Kenoli on 2004-10-06 at 01:40:23
You could use the countdown timer like this...
Players: All Players
Condition: Countdown timer is exactly 0 seconds.
Action: Set countdown timer to 30 seconds, Spawn units, preserve trigger.

It will make units at the start of the game, and every 30 seconds after that.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-10-06 at 12:23:34
QUOTE(Winston @ Oct 5 2004, 10:52 PM)
I'm making a map where I want units to spawn every 30 seconds or so, different units for each player, so different triggers for each player.

But when I use the wait 30000 milliseconds command on these triggers, they end up causing me to wait a LOT longer, because each wait command prevents other triggers from occuring.

Is there a way for me to spawn units every 30 seconds without a wait command?
[right][snapback]82730[/snapback][/right]


Thats because your triggers are owned by the computer. Or you have other large waits going for each of the players. Basicly you would make your spawning triggers the same way people do music loops.

PS. Countdown timmer would work but i wouldn't use it unless you specificly want the players to know exactly when they get there next unit.
Next Page (1)