[General] What do the "x, y" in DisplayTextToPlayer do?

Status
Not open for further replies.
Level 13
Joined
May 11, 2008
Messages
1,198
native DisplayTimedTextToPlayer takes player toPlayer, real x, real y, real duration, string message returns nothing
so, looking at that function, how do we figure how the real x and real y work?

i just supposed you move around the text...but sometimes it works and sometimes it doesn't...more than that...the text seems to sometimes drag other text along with it. and sometimes it makes the text disappear. i'm pretty confused since i've been getting results that don't make sense when experimenting with those reals.

ohh....everytime you call the function it moves ALL the text from every call of that function.
 
Last edited by a moderator:
Isn't that the position of the floating text relative to the unit? So then 0 would be like on the unit in a weird way, and 0.5 would be directly above, 1.0 would be a bit of a distance above the unit, if I'm remembering correctly?
 
Status
Not open for further replies.
Back
Top