- Joined
- Nov 13, 2010
- Messages
- 277
hey all so iam trying to make a hero in to a building
i whan you to upgrade a building in to a hero building
i try with this trigger but it just make the hero inside of the fake tower iam not sure on how to fix it
but if i make the scaling value of the fake tower to 0.100 and give it locust. then you can only selected Sea Witch but you can not sell the tower
i whan you to upgrade a building in to a hero building
i try with this trigger but it just make the hero inside of the fake tower iam not sure on how to fix it
-
Untitled Trigger 001
-
Events
-
Unit - A unit owned by Player 1 (Red) Finishes an upgrade
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Triggering unit)) Equal to fake tower
-
-
Then - Actions
-
Unit - Replace (Triggering unit) with a fake tower using The old unit's relative life and mana
-
Set VariableSet point = (Position of (Last replaced unit))
-
Unit - Create 1 Sea Witch for (Owner of (Last replaced unit)) at point facing Default building facing degrees
-
Unit - Set life of (Last created unit) to (Percentage life of (Last replaced unit))%
-
-
Else - Actions
-
-
-
but if i make the scaling value of the fake tower to 0.100 and give it locust. then you can only selected Sea Witch but you can not sell the tower
Last edited: