- Joined
- Jan 22, 2010
- Messages
- 2,583
Hey there! I need some help here in checking if this Blink I made is MUI.
It's supposed to make you invisible and slow after you cast it.
You need a 0.05 second wait (Or something like that) because if you do it immediately, you will interrupt the Blink and you will just cast the Wind Walk right there on the spot; and not Blink to the target area.
It's supposed to make you invisible and slow after you cast it.
You need a 0.05 second wait (Or something like that) because if you do it immediately, you will interrupt the Blink and you will just cast the Wind Walk right there on the spot; and not Blink to the target area.
-
Blink 1
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
((Ability being cast) Equal to Blink (1, 1 Position)) or ((Ability being cast) Equal to Blink (1, 2 Position))
-
-
Actions
-
Set BlinkCaster = (Casting unit)
-
Set BlinkInteger = (BlinkInteger + 1)
-
Set BlinkAbility[BlinkInteger] = (Ability being cast)
-
Unit - Set the custom value of BlinkCaster to BlinkInteger
-
Unit Group - Add BlinkCaster to BlinkGroup
-
Hashtable - Save 0.05 as (Key RemainingTime) of (Key (Casting unit)) in Hashtable
-
Set BlinkIsOn = True
-
-
-
Blink 2
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in BlinkGroup and do (Actions)
-
Loop - Actions
-
Set BlinkRemainingTime = (Load (Key RemainingTime) of (Key (Picked unit)) from Hashtable)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BlinkRemainingTime Greater than 0.00
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BlinkAbility[(Custom value of (Picked unit))] Equal to Blink (1, 1 Position)
-
-
Then - Actions
-
Unit - Add Blink Invisibility to (Picked unit)
-
Unit - Set level of Blink Invisibility for (Picked unit) to (Level of Blink (1, 1 Position) for (Picked unit))
-
Unit - Order (Picked unit) to Orc Blademaster - Wind Walk
-
Unit - Remove Blink Invisibility from (Picked unit)
-
Hashtable - Save (BlinkRemainingTime - 0.05) as (Key RemainingTime) of (Key (Picked unit)) in Hashtable
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
BlinkAbility[(Custom value of (Picked unit))] Equal to Blink (1, 2 Position)
-
-
Then - Actions
-
Unit - Add Blink Invisibility to (Picked unit)
-
Unit - Set level of Blink Invisibility for (Picked unit) to (Level of Blink (1, 2 Position) for (Picked unit))
-
Unit - Order (Picked unit) to Orc Blademaster - Wind Walk
-
Unit - Remove Blink Invisibility from (Picked unit)
-
Hashtable - Save (BlinkRemainingTime - 0.05) as (Key RemainingTime) of (Key (Picked unit)) in Hashtable
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
Unit Group - Remove (Picked unit) from BlinkGroup
-
Set BlinkIsOn = False
-
-
-
-
-
-