- Joined
- May 7, 2008
- Messages
- 346
Title may be misleading, but I'm trying to achieve the following:
The map has around 8 heroes that are already preplaced in testmap enviroment.
I also assigned each Hero its own circle (Dummy Unit with Locust) that needs to be removed once the Hero is picked.
I know of a way to remove them with bunch of if / then / else statements, but nothing else comes to my mind in how to solve it.
The map has around 8 heroes that are already preplaced in testmap enviroment.
I also assigned each Hero its own circle (Dummy Unit with Locust) that needs to be removed once the Hero is picked.
I know of a way to remove them with bunch of if / then / else statements, but nothing else comes to my mind in how to solve it.
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Target unit of ability being cast)) Equal to Hero_Type[1]
-
-
Then - Actions
-
Unit - Remove Hero_Circle[1] from the game
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Target unit of ability being cast)) Equal to Hero_Type[2]
-
-
Then - Actions
-
Unit - Remove Hero_Circle[2] from the game
-
-
Else - Actions
-
etc...
-
-
-
-