• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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:
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.
 
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.
 
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.
 
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.
 
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.
 
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.
Back
Top