• 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.

Building/Constructing through an ability.

Status
Not open for further replies.
Level 6
Joined
May 27, 2007
Messages
162
Is there a way to give a unit the order to 'help construct' [Like human peasants] a building that is being constructed?

for example:

A unit is constructed

Order ExampleUnit to repair/right click unit being constructed



Only that doesnt work.
 
Last edited:
Level 3
Joined
Mar 26, 2008
Messages
53
I would imagine the "ExampleUnit" would need to be ordered to use that specific ability you are refering to. Otherwise, the generic command would be to just "move to" "follow" or "repiar"; which would be the reasons as to why nothing would happen.
I wouldn't know on how to go about making it automatically select nearby qualifying units to do this action. I'm at a loss there.

Um, this is by triggers yes?
 
Level 4
Joined
Dec 16, 2007
Messages
134
Is there a way to give a unit the order to 'help construct' [Like human peasants] a building that is being constructed?

for example:

A unit is constructed

Order ExampleUnit to repair/right click unit being constructed



Only that doesnt work.


Untitled Trigger 019
Events
Unit - A unit Begins construction
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Owner of (Constructing structure)) of type Peasant) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Right-Click (Position of (Constructing structure))
 
Level 6
Joined
May 27, 2007
Messages
162
Thanks yeh i managed it. :) Turns out theres no way to get rid of the unit who started constructing the building and letting the others repair it to completion.

I'll check gameplay constants to find a way. Il be releasing a beta on here soon enough if thats allowed for people to test/flame/encourage me as I'm at the stage where the map gets boring :p
 
Status
Not open for further replies.
Top