• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Z Offset of text tag

Status
Not open for further replies.
Level 8
Joined
Dec 9, 2009
Messages
397
I'm trying to move some text to come up to the left of a unit, but setting it to -5 does the same as 5, moving it right :/

What do I set it to be left?
 
Last edited:
Level 26
Joined
Aug 18, 2009
Messages
4,097
You have tilted the unit 90 degree around the y-axis, or your camera?

The z dimension goes into height. When you look with the standard camera angles on a unit, "left" would mean to decrease the y-coordinate.

Are we talking about texttags? Do you mean SetVelocity-function? It does not offer an option for z movement.
 
Level 8
Joined
Dec 9, 2009
Messages
397
Oh, well I change it in the trigger that creates the text tag.
I want 2 rows for text above the hero, one a little to left, one a little to right

Setting it to 5 or -5 moved the text to the right.
 
Level 8
Joined
Dec 9, 2009
Messages
397
Hm, ok I see, it looked like it was right but it was prolly just higher than normal :/

Is there a way to move it over a bit? I don't see a make text with offset of position of unit

The goal is to not have normal attacks damage numbers right on top of ability damage numbers
I'd like for people to be able to read them.
 
Level 8
Joined
Dec 9, 2009
Messages
397
I think i got a solution, if it centers all text, I can just add spaces to either side when i want to move it one way or another.
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
f2t2j9.jpg


Um, no? It does not center the text. The first sign starts from the specified location. The picture shows all texts with the same origin. Adding spaces to the end will not move it left. Only adding spaces to the front will make it shift rightwards.
 
Level 8
Joined
Dec 9, 2009
Messages
397
Ah, floating text at point, I was stumped cause i was trying to edit the floating text over unit and it would only let me stick a unit variable or something talking about a unit couldn't do at position of unit at offset.

I can do that in the floating text at point though

If anyone was wondering
-60 is good offset for text on left
text.jpg


could even bring it in a tad more
 
Status
Not open for further replies.
Top