HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

DisplayTextToPlayer

08-18-2004, 11:48 PM#1
GeneralStonewal
native DisplayTextToPlayer (player toPlayer, real x, real y, string message) returns nothing

I was searching through a list of jass functions and found this. Now I know what the player variable is for and I know what the string variable is for. What I'm not certain about is these x and y values. I've tried assigning values to them, but the message only shows up if I leave them to '0'. Are these suppose to be screen offsets or what?
08-19-2004, 12:35 PM#2
Vexorian
they are the position of the text in the screen, negative values won't work though, use small numbers from 0 to 2 to test it, a value of 5 makes them appear out side the screen
08-20-2004, 03:38 PM#3
fugly
just thought i would add that this function causes desyncs if not used localy
08-20-2004, 04:39 PM#4
Vexorian
Quote:
Originally Posted by fugly
just thought i would add that this function causes desyncs if not used localy
not really