Crusher
You can change this now in User CP.
- Reaction score
- 121
In this small trigger it is supposed to add a color each time when a new combo point is gained.
So, the combo point one will be green, combo point two will be yellow, three will be orange, four and five etc.
But, the problem is, only combo one, two and five are defined!
So, the combo point one will be green, combo point two will be yellow, three will be orange, four and five etc.
But, the problem is, only combo one, two and five are defined!
Trigger:
- Add Points
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Silenced Strike
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Current_Points Equal to 0
- Current_Unit_With_Points Equal to No unit
- Then - Actions
- Set Current_Points = (Current_Points + 1)
- Set Current_Unit_With_Points = (Target unit of ability being cast)
- Floating Text - Create floating text that reads (((|c0000ff40Combo Point:|r + + (String(Current_Points))) + )) above (Casting unit) with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Current_Points Less than 4
- Current_Unit_With_Points Equal to (Target unit of ability being cast)
- Then - Actions
- Set Current_Points = (Current_Points + 1)
- Floating Text - Create floating text that reads (((|c00ffff00Combo Points:|r + + (String(Current_Points))) + )) above (Casting unit) with Z offset 0.00, using font size 9.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Current_Points Greater than or equal to 1
- Current_Unit_With_Points Not equal to (Target unit of ability being cast)
- Then - Actions
- Set Current_Points = 0
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Current_Points Equal to 5
- Current_Unit_With_Points Equal to (Target unit of ability being cast)
- Then - Actions
- Floating Text - Create floating text that reads (((|c00ff8000Combo Points:|r + + (String(Current_Points))) + )) above (Casting unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Current_Points Equal to 4
- Then - Actions
- Set Current_Points = (Current_Points + 1)
- Floating Text - Create floating text that reads (((|c00ff0000Combo Points:|r + + (String(Current_Points))) + )) above (Casting unit) with Z offset 0.00, using font size 11.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Trigger:
- Add Points Two
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Silenced Strike
- Current_Unit_With_Points Not equal to (Target unit of ability being cast)
- Current_Unit_With_Points Not equal to No unit
- Actions
- Set Current_Points = 1
- Set Current_Unit_With_Points = (Target unit of ability being cast)
- Floating Text - Create floating text that reads (((|c0000ff40Combo Point:|r + + (String(Current_Points))) + )) above (Casting unit) with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Events