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

deleting wisp after he's finished

Status
Not open for further replies.
Level 25
Joined
Mar 29, 2020
Messages
1,466
something like this:

  • Untitled Trigger 001
    • Events
      • Unit - A unit Begins construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • Unit - Remove (Triggering unit) from the game
you need to decide what you want to happen to the unit if the building gets destroyed while being built or cancelled and add that to the trigger. (maybe just hide the unit while the building is going up and only remove it from the game once the building is complete)
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,871
something like this:

  • Untitled Trigger 001
    • Events
      • Unit - A unit Begins construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • Unit - Remove (Triggering unit) from the game
you need to decide what you want to happen to the unit if the building gets destroyed while being built or cancelled and add that to the trigger. (maybe just hide the unit while the building is going up and only remove it from the game once the building is complete)
The unit in that Event is the building. Blizzard for whatever reason left out the option to interact with the "builder".

There are some tricks to detect the builder though, as the worker in the case for Orc/Night Elf structures is actually hidden at the very center of the structure it's building. Because of this you can use a Pick Every Unit function with a very small radius starting at the center of the structure in order to find the worker.
 
Status
Not open for further replies.
Top