DisplayTextToPlayer

Parameters
toPlayer player

target player

x real

new text box position (default is 0, clamped to: 0.0-1.0)

y real

new text box position (default is 0, clamped to: 0.0-1.0)

message string

text (supports color codes)

bug

Changing x or y moves the entire text box, including previously displayed lines. An example is shown at Luashine/DisplayTextToPlayer-position

comment

Displays a trigger message to player.

The text line fades out in the end.

note

See: DisplayTimedTextToPlayer, DisplayTimedTextFromPlayer, BlzDisplayChatMessage.

note

This is equivalent to DisplayTimedTextToPlayer with duration set to 4.

note

The text lines are bottom-left aligned: text continues to the right and new lines continue upwards.

return type
nothing
Source code
native DisplayTextToPlayer          takes player toPlayer, real x, real y, string message returns nothing
Source
visuals.j
wc3modding.com
DisplayTextToPlayer