Text at Center

Status
Not open for further replies.

Andrelius

A

Andrelius

I've seen maps where there is text displayed at the center of the screen. I can't seem to do this with the normal Game text display. How do I do it? Plus is it possible to change the size of the text also?
 
Or you can just do it properly...

JASS:
native DisplayTextToPlayer          takes player toPlayer, real x, real y, string message returns nothing
native DisplayTimedTextToPlayer     takes player toPlayer, real x, real y, real duration, string message returns nothing
native DisplayTimedTextFromPlayer   takes player toPlayer, real x, real y, real duration, string message returns nothing

Eg:

  • Custom script: call DisplayTimedTextToPlayer( Player( 0 ), 1, 1, 5, "I'm cool" )
Where 0,0 is the normal text display point
 
Status
Not open for further replies.
Back
Top