Buying Units - Ordering them to move

U

Unregistered

Guest
Hi There - I'm trying to set up a shop that sells units upon the click of the mouse, and then teleport those units to a trigger location and march them down a path. The problem is - There is no definition for a unit that was bought.

For instance: Unit finishes training a unit, reviving, upgrade and research are all there, but I cannot figure out a trigger that responds to a unit being purchased - say from a goblin shop or custom unit..

Any help would be greatly appreciated.

Thanks - Hypster
 
U

Unregistered

Guest
if you have ever heard of the tower wars or turret wars game, they use the same idea. you might want to check out what kind of a trgger they've used.

an idea might be:

Event:Unit enter region
Action: Order (triggering unit) to move to center of (region name)

you have to create a region at each turn to move the units around.

as for warping:

Event:Unit Enters Region
Action:Move (trigging unit) instantly to center of (region name)
 
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