how do u make units move wen they spawn?

Venge22

New Member
Reaction score
10
I want to know the trigger or watever of how u make units go to a certain location wen spawned. Thank u.
 

XeNiM666

I lurk for pizza
Reaction score
138
Unit - Create 1 blah blah blah
Unit - Order (Last created unit) to Attack-Move to Region001<gen>
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
if the unit in question "1" unit.

use above

if the unit in question is 2 or more

unit create 99 monsters.
pick all units in last created unit group
loop-
- order picked units to move.
 

Venge22

New Member
Reaction score
10
wat i am doing is trying to make like 20 units spawn every 30 secs so urs should work. But u can't just do create unit. Its like create unit facing point or angle.
 

Jedimindtrixxx

┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻
Reaction score
168
it would be like
event - every 30 seconds
condition - (if u need 1 blah blah)
action - create 20 [ur unit] at [ur location] facing [point or angle i dun kno up to u]
Pick every unit in (last created unit group) and do actions:
-loop
-order (last created unit group) to [move, attack-move, etc w/e u need] to [your move to location]


then ur gun need to remove the leaks with custom script call w/e w/e w/e
dun ask me bout leaks i dun kno shit bout em ;)
srry i didnt have trigger editor open too lazy lol
 

XeNiM666

I lurk for pizza
Reaction score
138
Code:
Spawn
    Events
        Time - Every 30.00 seconds of game time
    Conditions
    Actions
        For each (Integer A) from 1 to 20, do (Actions)
            Loop - Actions
                Unit - Create 1 Footman for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
                Unit - Order (Last created unit) to Attack-Move To (Center of Region)
 

Venge22

New Member
Reaction score
10
Ok, i got that down, but 1 more question. how do u make a player spot automatticaly filled in by a comp?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top