Hello anyone
I'm looking to add a running animation to a certain spell of the type GUI:
-Cast
-Loop
The spell is as follows:
I'm looking to add a running animation to a certain spell of the type GUI:
-Cast
-Loop
The spell is as follows:
Trigger:
- LS Cast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Lightning Speed
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- MUI_1 Equal to 0
- Then - Actions
- Trigger - Turn on LS Loop <gen>
- Else - Actions
- If - Conditions
- Set MUI_1 = (MUI_1 + 1)
- Set MUI_2 = (MUI_2 + 1)
- Set cUnit[MUI_2] = (Triggering unit)
- Unit - Make cUnit[MUI_2] Invulnerable
- Unit - Turn collision for cUnit[MUI_2] Off
- Animation - Change cUnit[MUI_2]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 65.00% transparency
- Set cPoint[MUI_2] = (Position of cUnit[MUI_2])
- Set tPoint = (Target point of ability being cast)
- Set Range[MUI_2] = (100.00 + (50.00 + (Real((Level of Lightning Speed for cUnit[MUI_2])))))
- Set Angle[MUI_2] = (Angle from cPoint[MUI_2] to tPoint)
- Set MaxDistance[MUI_2] = (Distance between cPoint[MUI_2] and tPoint)
- Set Speed[MUI_2] = (30.00 x (Real((Level of Lightning Speed for cUnit[MUI_2]))))
- Set Distance[MUI_2] = 0.00
- Custom script: call RemoveLocation (udg_tPoint)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events