HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Order mass groups of units

03-24-2005, 09:16 PM#1
emp_can
I want to order a mass amount of units to move to a certain region but can't find the trigger. What trigger do i use.
03-24-2005, 09:46 PM#2
johnfn
Code:
Unit Group - Pick every unit in (Your unit group/area) and do (Actions)
    Loop - Actions
03-24-2005, 10:21 PM#3
emp_can
Now i how do you add a delay so they don't spawn constantly so they only spawn like once every 10 seconds.
03-24-2005, 10:51 PM#4
emp_can
ok just tell me how to make a constant spawning of units and making them attack
03-24-2005, 10:58 PM#5
johnfn
Code:
Spawnandmove
    Events
        Time - Every 2.00 seconds of game time
    Conditions
    Actions
        Unit - Create 1 Footman for Player 1 (Red) at (Region) facing Default building facing degrees
        Unit - Order (Last created unit) to Attack-Move To (Where to go?)
03-25-2005, 01:43 PM#6
emp_can
It's not being constant or even spawning.
03-25-2005, 01:46 PM#7
emp_can
NVM i used wrong time trigger.
03-28-2005, 03:53 PM#8
emp_can
Event
My trigger is time elapse 5 seconds
Action
Create 1 footmen at region


And it doesn't wprk.
03-28-2005, 03:54 PM#9
johnfn
Actually it does. Are you sure you used the right reigon.
03-30-2005, 03:18 AM#10
emp_can
yes and i make the guy then stops. and the send all units only sends 12.
03-30-2005, 03:30 AM#11
Guest
Use John's other action right after the spawn action. "Order (Last Created Unit) to Attack - move to Center of your region". Also, make sure the region isn't full or is blocked by something. For example, if you have the region over water or something it won't spawn them.
03-30-2005, 04:27 AM#12
Raptor--
Quote:
Originally Posted by emp_can
Event
My trigger is time elapse 5 seconds
Action
Create 1 footmen at region


And it doesn't wprk.


from dictionary.com
Quote:
elapsed

adj : (of time) having passed or slipped by; "elapsed time"

hence time elapsed 5 seconds means 5 seconds have passed
aka this trigger will run once, 5 seconds into the game
you want periodic every 5 seconds

also, pick the units and order them individually, do not use unit group - order units since this treats the units like a player picked group (ie only 12 allowed in a selection)