Unit moving trigger

1Shredder1

New Member
Reaction score
1
I'm working on an RPG map and wanted to make a trigger that creates enemies and then causes them to run across a bridge. I've been able to make the part of the trigger that creates the units, but have not found how to make them move. Unfortunately, i don't have the code in front of me right now, so i can't show that.... But, any help would be appreciated... :eek: Hopefully i don't have to change AI....
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Code:
Untitled Trigger 003
    Events
        Unit - A unit enters (Playable map area)
    Conditions
        (Owner of (Triggering unit)) Equal to Player 1 (Red)
    Actions
        Unit - Order (Triggering unit) to Attack-Move To (Center of (Playable map area))
Where you change playable map area to whatever you want.
Note: this leaks a bit, if you want to learn about leaks, I suggest you use the search button and type in "Leak tutorial"
 

Septimus

New Member
Reaction score
58
69587222kp6.jpg


A single picture is worth a thousand word. Here is the trigger for you.
 
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