• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Help] Text follow unit!

Status
Not open for further replies.
Level 1
Joined
Sep 30, 2005
Messages
3
I’m trying to make a skill that set a floating text over the unit and follows the unit. Is this possible!? :roll:
 
Level 1
Joined
Oct 5, 2005
Messages
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.
 
Level 1
Joined
Sep 30, 2005
Messages
3
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.
 
Status
Not open for further replies.
Top