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

[Trigger] removing a building

Status
Not open for further replies.
Level 17
Joined
Aug 19, 2007
Messages
1,380
Hi, I need help with the following; I want that whenever building A is created, the builder is removed from the game. Which action do I need to use exactly to remove the builder from the game? I know I need to use action "remove", but I don't know which function I need to use. I don't want the unit to build like a wisp building an ancient (~morphing into the ancient) cause I need the function for other triggers to. +rep if you help me.

  • Actions
    • Unit - Remove (?) from the game
 
Level 17
Joined
Aug 19, 2007
Messages
1,380
This should work.

Of course this is just basic, by adding additional conditions (if/then/else) you can specify the buildings, workers...
, it doesn't work.

I think this can be done without triggers if u just change race to night elf
, I know it can be done like the nightelf/wisp way (I already said it), but I don't want it to be done that way because I need the function (which could 'entering unit', 'triggering unit') for other triggers.
 
Status
Not open for further replies.
Top