Warcraft III resources & community, 2003–2006 · archived

[Help] Text follow unit!

4 posts
#1

[Help] Text follow unit!

I’m trying to make a skill that set a floating text over the unit and follows the unit. Is this possible!? :roll:
#2

Umm

Well... I don't really know too much... but I think you can make just regular floating text in the center of a reigon(sp) somewhere off in the cornner. Like:
Event: Unit casts an ability
Condition: Ability = to (whatever)
Action: Turn on trigger below
Wait: (how many seconds you want)
Turn off trigger below

Then have a trigger (not active) that said like:

Event : Every 1.00 seconds
Action: Move center of reigon(sp) to the hero
Create floating text at center of reigon(sp)
Wait: 0.99 seconds
Remove last created text.

Or of course you can make a variable for the text to you wont have to worry bout' the 0.99 second thing. Anyway... I think that will work... but sorry if it doesn't. You can probaly get a better awnser from someone with more experience.
#4
Thx for the help but I cant use the function pick unit for it’s going to spawn I try to get so a unit whit a buff gets the text but I didn’t find a function for it.