• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Issue order to Human worker to assist building (fast-build) a structure

Level 1
Joined
Feb 12, 2026
Messages
1
I'm trying to get a Computer controlled Human worker unit to fast-build a structure (multiple peasants building the same building). I thought that issuing a right-click order would work but it does not, the peasant will just walk up to the structure but won't help to build it. Issuing a Repair order also does not work. Has anyone had this problem and knows of a workaround or custom script to order a unit to fast-build?

  • issue build order
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Unit - Order Peasant 0002 <gen> to build a Barracks at (Center of Region 000 <gen>)
  • set building var
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Set VariableSet Unit_BuildingBeingBuilt = (Constructing structure)
      • Unit - Order Peasant 0003 <gen> to Right-Click Unit_BuildingBeingBuilt
uselesspeasant.png
 
I did this test, both peasant 1 and 2 helped build

  • Power Build
    • Events
      • Unit - A unit Begins construction
    • Conditions
    • Actions
      • Set VariableSet MyUnit = (Triggering unit)
      • Wait 1.00 seconds
      • Unit - Order Peasant 0001 <gen> to Human Peasant - Repair MyUnit
      • Unit - Order Peasant 0002 <gen> to Right-Click MyUnit
I suspect you need a short wait between the moment the building enters the map and the moment peasants can be ordered to build it
 
Last edited:
Back
Top