how to autobuild?

widra

New Member
Reaction score
3
I want to make a building to autobuild a unit.
Can someone help me resolve this problem :)


Thx! :)
 

hgkjfhfdsj

Active Member
Reaction score
55
one solution is
Trigger:
  • Order
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
    • Actions
      • Unit - Order (Triggering unit) to train/upgrade to a (Unit-type of (Trained unit))

Unit - A unit Cancels training a unit requires the building to know what the unit-type to autobuild for it to function. (AFAIK, could be wrong)
 

Nherwyziant

Be better than you were yesterday :D
Reaction score
96
I didn't test this, but I'm sure this will work.
Trigger:
  • Test1
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to (==) Barracks
    • Actions
      • Unit - Order (Constructed structure) to train/upgrade to a Footman


Trigger:
  • Test2
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to (==) Footman
    • Actions
      • Unit - Order (Triggering unit) to train/upgrade to a Footman
 

Nickdzul

New Member
Reaction score
1
autobuild after done build a building? or after build, you don't need to wait and it build itself?

If so, change the worker races to undead, it will make every building his making to summon only, you don't need to continuous creating it like human-type worker.

I hope I understand you correctly.
 

widra

New Member
Reaction score
3
great... but one thing more... when i complete a building then it will not autobuild a unit... i creates a unit but first a user needs to build atleast one unit! how can i avoid that, so that it will autobuild as soon as it finishes construction?? :confused:
 

Tar-Quaeron

New Member
Reaction score
0
The trigger suggested by Nherwyziant should work like you want. Once the building in question (== barracks in his example) is finished it should automatically start building a footman (in his example). If you want summoned buildings like undead all you need to do it give the summon ability (you could change the button art to the tree used for build if you don't like the dark undead image) to your worker instead of the build ability.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top