- Joined
- Aug 5, 2010
- Messages
- 147
Trying to make it so when a unit cast an ability on a tower the tower gets destroyed and an item is created in its place. Essentially miniturizing the tower.
Heres the trigger
Im far too tired atm to be able to figure out what im doing wrong.
Heres the trigger
-
Miniturization
-
Events
-
Unit - A unit Finishes casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Miniturization
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Targeted unit)) Equal to Guard Tower
-
-
Then - Actions
-
Item - Create Mini Arrow Tower at (Position of (Casting unit))
-
Unit - Kill (Targeted unit)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Targeted unit)) Equal to Cannon Tower
-
-
Then - Actions
-
Item - Create Mini Cannon Tower at (Position of (Casting unit))
-
Unit - Kill (Targeted unit)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Targeted unit)) Equal to Arcane Tower
-
-
Then - Actions
-
Item - Create Mini Arcane Tower at (Position of (Casting unit))
-
Unit - Kill (Targeted unit)
-
-
Else - Actions
-
-
-
Im far too tired atm to be able to figure out what im doing wrong.