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

Unit can build only one building.

Status
Not open for further replies.
Level 2
Joined
Aug 4, 2010
Messages
23
Lets say i have a worker and he can build stuff. Now if that worker finishes construction i want remove him from game. ( He can build only once. )

I tried event unit - finishes construction / being construction and reactions "Constructing Structure" "Constructed Structure"
but these are referring to building not to worker. So i have no idea now how to do this.
 
Level 5
Joined
Jan 5, 2012
Messages
116
You want to remove your worker from the game or just make him unable to build?

If you want to make him unable to build after 1 building you can use this:

  • Construction Limit
    • Events
      • Unit - A unit owned by Player 1 (Red) Finishes construction
    • Conditions
    • Actions
      • Player - Make Castle Unavailable for training/construction by Player 1 (Red)
In actions you add all the buildings that your worker builds so all of them may be removed. If you want it for more players, you can make the same trigger again but for another player.
 
Level 2
Joined
Aug 4, 2010
Messages
23
He wants to have one building per unit, not per player.

This could maybe be solved if you give your builder Build (Night Elf) and give all your buildings "Ancient" classification. That's why Wisps die when they build.

Thank you very much, i will never figure this out by myself : O
That is working fine.
 
Status
Not open for further replies.
Top