trying to get a trigger that allows buildings to create a unit every so seconds

mgsfan18

New Member
Reaction score
1
I have a trigger so that certain buildings have there rally points set to the enemy base but I cant find a trigger to make the building produce a certain unit every 30 seconds or so. Can anyone help? Thanks in advance!
 

Sajberhippie

New Member
Reaction score
30
I have a trigger so that certain buildings have there rally points set to the enemy base but I cant find a trigger to make the building produce a certain unit every 30 seconds or so. Can anyone help? Thanks in advance!

Well, there are two ways to do this. Either your way - the buildings are set to train the units and you've put up a rally point. If you want to do it that way, it's easy enough. Make sure that the building can produce the unit (train it) and make a trigger like

Ev - Every 30 seconds
Ac - Order (Your Building) to train/upgrade (Your Unit)

However, if what you want to do is an AoS-like unit creation, I'd recommend simply creating the units outside of the building every 30 seconds and give them an attack-move action. This would be something like:

Ev - Every 30 seconds
Ac - Set TempPoint (Position of (your building))
Create 1 (Your Unit) at TempPoint
Order (Last Created Unit) to attack-move (another location variable in opponents lair)
 
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