Ok i have a spell for one of the heroes in my map, the zeplin loads the unit but then stays in the same spot doing nothing, whats wrong?
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Flare for (Casting unit)) Equal to 1
-
Then - Actions
- Set L = ((Target point of ability being cast) offset by (-1000.00, 0.00))
- Unit - Create 1 Battle Golem for (Owner of (Casting unit)) at L facing Default building facing degrees
- Set FlareUnits[1] = (Last created unit)
- Unit - Create 1 Goblin Zeppelin for (Owner of (Casting unit)) at L facing Default building facing degrees
- Set FlareUnits[2] = (Last created unit)
- Custom script: call RemoveLocation(udg_L)
- Unit - Order FlareUnits[2] to Load FlareUnits[1]
- Set L = (Target point of ability being cast)
- Unit - Order FlareUnits[2] to Unload All At L
- Custom script: call RemoveLocation(udg_L)
- Else - Actions
-
If - Conditions