- Joined
- May 21, 2006
- Messages
- 174
What do you suggest I do to make this MUI?
Trigger:
Trigger:
-
Blazing Charge
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Serpent Ward
-
-
Actions
-
Custom script: local unit u
-
Custom script: local integer i
-
Set tempUnit = (Casting unit)
-
Custom script: set u=udg_tempUnit
-
Set tempPoint = (Position of (Casting unit))
-
Set tempPoint2 = (Target point of ability being cast)
-
Set tempInteger = ((Integer((Distance between tempPoint and tempPoint2))) / 25)
-
-------- ---------------------------------------------------------------------------------------------------- --------
-
Unit - Make tempUnit Invulnerable
-
Unit - Turn collision for tempUnit Off
-
Unit - Pause tempUnit
-
-------- ---------------------------------------------------------------------------------------------------- --------
-
Countdown Timer - Start tempTimer as a Repeating timer that will expire in 0.05 seconds
-
Wait ((Real(tempInteger)) x 0.05) seconds
-
Countdown Timer - Pause tempTimer
-
Custom script: set udg_tempUnit=u
-
-------- ---------------------------------------------------------------------------------------------------- --------
-
Unit - Unpause tempUnit
-
Unit - Turn collision for tempUnit On
-
Unit - Make tempUnit Vulnerable
-
Selection - Add tempUnit to selection for (Owner of tempUnit)
-
-------- ---------------------------------------------------------------------------------------------------- --------
-
Custom script: set u=null
-
Custom script: set udg_tempUnit=null
-
Custom script: set udg_tempInteger=0
-
Custom script: set udg_tempInteger2=0
-
Custom script: call RemoveLocation( udg_tempPoint )
-
Custom script: call RemoveLocation( udg_tempPoint2 )
-
Custom script: call RemoveLocation( udg_tempPoint3 )
-
-
-
Blazing Charge Move
-
Events
-
Time - tempTimer expires
-
-
Conditions
-
Actions
-
Custom script: local effect e
-
Set tempInteger2 = (tempInteger2 + 25)
-
Set tempPoint3 = (tempPoint offset by (Real(tempInteger2)) towards (Facing of tempUnit) degrees)
-
Special Effect - Create a special effect at tempPoint3 using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
-
Custom script: set e=GetLastCreatedEffectBJ()
-
Custom script: set udg_tempEffect=e
-
Unit - Move tempUnit instantly to tempPoint3
-
Special Effect - Destroy tempEffect
-
Custom script: set e=null
-
-