Spawning then moving

pwnagenub2

New Member
Reaction score
3
I was trying to make an aos map like dota with me and my bro, and we could spawn the mobs and stuff alright, but then when i set them to move to different regions, it wouldnt work. I kept trying different triggers and none of them seemed to work. It would only create the mobs and then they wouldnt move, they would just stay there. anyone know how to fix?
 

zll7

New Member
Reaction score
17
Please post the triggers that your using to move them. Then we can make sure there correct.
 
B

Banarok

Guest
set a new trigger if you want them to move

event = unit enters region (same as spawn region)
condition = Unit belongs to player (computer)
action = order unit to attack-move to point(region they shall walk to)

that shuld work, atleast it have never faild me :D
 

mikevisoni

New Member
Reaction score
3
Code:
Events 
        Time - Every 30.00 seconds of game time 
    Conditions 
    Actions 
        Unit - Create 1 Footman for Player 1 (Red) at (Position of Fortress 0001 <gen>) facing Default building facing degrees 
        Unit Group - Add (Last created unit) to UnitGroup 
        Unit Group - Pick every unit in UnitGroup and do (Actions) 
            Loop - Actions 
                Unit - Order (Last created unit) to Attack-Move To (Position of Castle 0000 <gen>)
 

TheCrystal

New Member
Reaction score
36
Its best to use a loop, and such.
WE not open.
Code:
Event -
 -Periodic Event (X)
Condition -

Action - 
 - Loop Integar A to 1-(Number of Units Spawn)
    - Create 01 Footman
    - Order (Last Created Unit) to move to (Center of (Region))
 - Loop Integar A to 1-(Number of Units Spawn)
    - Create 01 Rifleman
    - Order (Last Created Unit) to move to (Center of (Region))
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
i like TheCrystal's method :D

but, try to use patrol (Attack-Move sometimes causes problems while they walk, they return to spawn point or such)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top