floating text probs. sigh

Inflicted

Currently inactive
Reaction score
63
i dont know why but whenever i try make a floating text on attack, it becomes such a pain and never dissapears at the right time.

i would do a simple trigger like:

events:
- unit is attacked

conditions:
- level of ability ## for attacking hero is more than or equal to 1

actions:
- create floating text at position of attacked unit saying **
- hide to all players except owner of attacking unit
- set velocity to %% etc
- set lifespan to @@
- set fading age to $$
- enable performance

for some reason this doesn't dissapear, anyone know what i am doing wrong?
 

Inflicted

Currently inactive
Reaction score
63
oh!! LOL that explains it! i always thot it said performance not permanance! haha thanx
 

Olmeca

Member
Reaction score
2
Try it;

Floating Text - Create floating text that reads ...
Set - "Your_floating_text" = (last created floating text)
Wait - # seconds.
Floating Text - Destroy (last created floating text)
 

Ayanami

칼리
Reaction score
288
Try it;

Floating Text - Create floating text that reads ...
Set - "Your_floating_text" = (last created floating text)
Wait - # seconds.
Floating Text - Destroy (last created floating text)

There is no need for waits at all. You can just use lifespan. Disabling the permanence will do it.
 

Inflicted

Currently inactive
Reaction score
63
yeah thanx Accname and Glenphir, the permenance was the problem.

and Olmeca thats a terrible idea because if i tryed to create more than one floating text, because it is created on attack, it would set the last created one to the variable. and then the others wouldn't dissapear, eh bt thx anyway
 
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