HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Moving Units at a Region?

08-22-2003, 05:39 AM#1
Bolt
I was trying this out. But the Move unit trigger only moves even response unlike the SC editor where you could move any unit within a region. I found this other way to work but it's kinda annoying.

Pick every unit in unit group and to action

Move Random unit in (region) instantly to (region)

But the problem is I want to move specific units and I have to create conditions for each type of unit I want to move, any help? Because the move unit only moves CURRENT units placed on a map but I want to move trigger created units into places. Any ideas?
08-22-2003, 05:47 AM#2
Draco
Slow down and tell us better. You can assign newly created units to variables (Ctrl+b in trigger editor). For more info on these go to the sub-forums here or do a search for variables in this forum.

You can do Unit Group - Pick all units matching condition, and use a unit type condition - If (picked unit) equal to (YOUR TYPE OF UNIT) then do order (picked unit) to move to region Y else do nothing.
08-22-2003, 05:47 AM#3
Nemesis1234
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If ((Unit-type of (Picked unit)) Equal to Whatever Unit Type) then do (Unit - Order (Picked unit) to Move To (Where ever)) else do (Do nothing)