Unit removed from game if....

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
 
Top