Skill Floating Text Trigger leaks?

NightMagi

Member
Reaction score
5
Does this trigger leak?

Trigger:
  • skillfloat1
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads (Name of (Ability being cast)) above (Casting unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)


if so, how do i remove the leak?
 

Exide

I am amazingly focused right now!
Reaction score
448
You should remove the wait and set a life time to the floating text + disable permanence. Also change (Casting unit) to (Triggering unit).

You can also create a point at (Triggering unit) and create the floating text there. (Not needed.)
 

NightMagi

Member
Reaction score
5
like this?

Trigger:
  • skillfloat1
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads (Name of (Ability being cast)) above (Triggering 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 the lifespan of (Last created floating text) to 1.00 seconds
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Destroy (Last created floating text)



edit: it doesnt work with this one ;/
 

Exide

I am amazingly focused right now!
Reaction score
448
Remove the last action:
Trigger:
  • Floating Text - Destroy (Last created floating text)


Also try changing the event:
Trigger:
  • Unit - A unit Begins casting an ability


into

Trigger:
  • Unit - A unit starts the effects of an ability
 

NightMagi

Member
Reaction score
5
Remove the last action:
Trigger:
  • Floating Text - Destroy (Last created floating text)


Also try changing the event:
Trigger:
  • Unit - A unit Begins casting an ability


into

Trigger:
  • Unit - A unit starts the effects of an ability

okay thx ;) fixed.

now how do i change the size of the text to a smaller one? ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top