- Joined
- Dec 5, 2009
- Messages
- 846
Hello how to make this trigger MUI ? I new to MUI and im trying to learn. But I can't get the floating text to work.
BTW: When i add and remove the command aura like that with no waits between it will still take 3 seconds until its gone.
-
Untitled Trigger 002
-
Events
- Unit - A unit Is attacked
- Conditions
-
Actions
- Set Integer = (Integer + 1)
- Set Unit1[Integer] = (Attacking unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit1[Integer] has buff Command Aura) Equal to True
-
Then - Actions
- Unit - Order Unit1[Integer] to Stop
-
Else - Actions
- Set FloatingInt = (FloatingInt + 1)
- Unit - Add Command Aura to Unit1[Integer]
- Floating Text - Create floating text that reads III above Unit1[Integer] with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set Floatingtext[FloatingInt] = (Last created floating text)
- Trigger - Run Untitled Trigger 001 <gen> (checking conditions)
- Unit - Remove Command Aura from Unit1[Integer]
-
If - Conditions
-
Events
-
Untitled Trigger 003
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
- Floating Text - Change the position of Floatingtext[FloatingInt] to Unit1[Integer] with Z offset 0.00
-
Events
-
Untitled Trigger 001
- Events
- Conditions
-
Actions
- Wait 1.00 seconds
- Floating Text - Change text of Floatingtext[FloatingInt] to II using font size 10.00
- Wait 1.00 seconds
- Floating Text - Change text of Floatingtext[FloatingInt] to I using font size 10.00
- Wait 1.00 seconds
- Floating Text - Destroy Floatingtext[FloatingInt]