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

How to make an unit unique buildable

Status
Not open for further replies.
Level 2
Joined
Aug 17, 2015
Messages
24
Hi there ! Is there any way I can make a building unique buildabe? You know like you can't build it two times,but if you build it one time and it's destroyed,you can build it again.

Sorry for my bad english.
 
Last edited:
Level 37
Joined
Aug 6, 2015
Messages
786
Hi there ! Is there any way I can make a building unique buildabe? You know like you can't build it two times,but if you build it one time and it's destroyed,you can build it again.

Sorry for my bad english.

Sure u can
u can restrict unit type for player that u want to/
in triggers its 0, so u can't build him, but if u put 1 you will be able to build only 1. or whatever number u want.
if he die you will be able to construct him again till restricted number
 

Attachments

  • train.w3x
    12.7 KB · Views: 33
Level 2
Joined
Aug 17, 2015
Messages
24
Well,I've tested your map and it isn't working,the units aren't even in the Tavern.
Plus,I don't want to train that "unique" unit,I want to build it with a builder.
For example I want to build a repairing drone to repair some walls,but you can build just one drone,and if that drone dies,you can build it again.
 
Level 37
Joined
Aug 6, 2015
Messages
786
Well,I've tested your map and it isn't working,the units aren't even in the Tavern.
Plus,I don't want to train that "unique" unit,I want to build it with a builder.
For example I want to build a repairing drone to repair some walls,but you can build just one drone,and if that drone dies,you can build it again.
ups, uploaded wrong one.
oh i understand now, well u could check when number of units that u have is not bigger then number that u want and do that action.
attachment.php
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    2.2 KB · Views: 108
Status
Not open for further replies.
Top