• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Doesn't Remove unit

Status
Not open for further replies.
Level 10
Joined
Nov 3, 2009
Messages
686
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