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

Doesn't Remove unit

Status
Not open for further replies.
Level 10
Joined
Nov 3, 2009
Messages
687
Hello,

I created tavern for each player and I want when he finishes training unit it remove tavern from the game... I made this trigger but this don't want to work... and then trained unit will be moved to point.


  • Red
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • (Owner of (Trained unit)) Equal to Player 1 (Red)
    • Actions
      • Set NEPoint = (Center of Night Elf Start Revive <gen>)
      • Unit - Move (Trained unit) instantly to NEPoint, facing Default building facing degrees
      • Camera - Pan camera for Player 1 (Red) to NEPoint over 0.00 seconds
      • Unit - Remove Night Elf Heroes 0012 <gen> from the game
      • Unit - Remove Circle of Power 0019 <gen> from the game
      • Custom script: call RemoveLocation(udg_NEPoint)
Why It don't remove it... and don't move unit?
 
Status
Not open for further replies.
Top