- Joined
- Sep 9, 2007
- Messages
- 6,759
How can I make this GUI MUI-able?
-
Concentrate Init
-
Events
- Unit - A unit starts casting an ability
-
Conditions
- (Unit-type of (Triggering unit)) equal to Human Warrior
- (Ability being cast) equal to Concentrate
- ((Triggering unit) has buff Concentrate ) equal to False
-
Actions
- Player - Activate Concentrate DUMMY for (Owner of (Triggering unit))
-
For each (Integer IntegerCs[2]) from 1 to 20, do (Actions)
-
Loop - Actions
- Wait 0.50 game-time seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Conditions
- ((Triggering unit) has buff Concentrate ) equal to False
-
'THEN'-Actions
- Player - Deactivate Concentrate DUMMY for (Owner of (Triggering unit))
- Unit - Remove Concentrate buff from (Triggering unit)
- Skip remaining actions
- 'ELSE'-Actions
-
'IF'-Conditions
-
Loop - Actions
- Player - Deactivate Concentrate DUMMY for (Owner of (Triggering unit))
- Unit - Remove Concentrate buff from (Triggering unit)
-
Events
-
Concentrate Init
-
Events
- Unit - A unit starts casting an ability
-
Conditions
- (Unit-type of (Triggering unit)) equal to Human Warrior
- (Ability being cast) equal to Concentrate
- ((Triggering unit) has buff Concentrate ) equal to False
-
Actions
- Custom script: local unit udg_Tmp_Unit
- Set Tmp_Unit = (Triggering unit)
- Player - Activate Concentrate DUMMY for (Owner of Tmp_Unit)
-
For each (Integer IntegerCs[2]) from 1 to 20, do (Actions)
-
Loop - Actions
- Wait 0.50 game-time seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Conditions
- (Tmp_Unit has buff Concentrate ) equal to False
-
'THEN'-Actions
- Player - Deactivate Concentrate DUMMY for (Owner of Tmp_Unit)
- Unit - Remove Concentrate buff from Tmp_Unit
- Skip remaining actions
- 'ELSE'-Actions
-
'IF'-Conditions
-
Loop - Actions
- Player - Deactivate Concentrate DUMMY for (Owner of Tmp_Unit)
- Unit - Remove Concentrate buff from Tmp_Unit
-
Events