• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Unit removed from game if....

Status
Not open for further replies.
Level 3
Joined
May 17, 2005
Messages
30
How do i make a dummy unit that will be removed from game when the hero spawns from the tavern. Basically i want to

1. Have a guy so i can choose my hero

2. Choose my hero and make guy disappear
 
Level 8
Joined
Aug 3, 2008
Messages
391

  • Hero Pick
    • Events
      • Unit - A unit Sells a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Sold unit) is A Hero) Equal to True
        • Then - Actions
          • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • And - All (Conditions) are true
                    • Conditions
                      • (Unit-type of (Picked unit)) Equal to Footman
                      • (Owner of (Sold unit)) Equal to (Owner of (Picked unit))
                • Then - Actions
                  • Unit - Remove (Picked unit) from the game
                • Else - Actions
        • Else - Actions
 
Status
Not open for further replies.
Top