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

Make trainable/hireable unit disappear from building

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2008
Messages
263
I am in search of some kind of action to remove units from a building.

lets say i have a mercenary camp and i hire a unit from it. i now want this unit to disappear or something from the building.

alternatively i could train the unit instead and then make it disappear.

and as i "always" say, this is done in DotA.
 
Level 5
Joined
May 27, 2007
Messages
144
Its easy make a trigger with
  • Dota copy
  • Events
    • a unit is sold (or sth equalt to it have german wc3 editor) :D
  • Conditions
    • Unit type of sold unit equal to unit A
  • Actions
    • Unit - disable sold unit for player (owner of shop)
This should work I think
 
Level 6
Joined
Apr 23, 2008
Messages
263
I found "player - make unit type of trained unit unavaible for training/construction for player"

got the idea of looking in player because u wrote "for player" so thanks for the help :)
 
Status
Not open for further replies.
Top