Summon units

0rcL0rd

New Member
Reaction score
1
hi, i want to make a tower in my TD that is going to create 1 unit every 20 seconds, and the unit will only stay for 10-15 seconds.
But i want the ability only to start after its built offcourse.
can someone tell me how i can do this.

Tnx
 

kaboo

New Member
Reaction score
45
Code:
start
events - unit finishes construction
conditions - unit type of constructed unit equal to summoning tower
actions 
- add constructed unit to summoners {-unit group}

Code:
summon
events - every 20 seconds
conditions -
actions
-pick every unit in summoners and do actions
  - unit create 1 summon at position of picked unit for owner of picked unit
  - add expiration timer to last created unit that will expire in 10-15 seconds

something like this should
 
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