DisplayTimedTextToPlayer

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)

duration real

text lifetime in seconds

message string

text (supports color codes)

comment

Displays a trigger message to player with a custom display duration.

The text line fades out in the end.

note

See: DisplayTextToPlayer for the full description. Also: DisplayTimedTextFromPlayer, BlzDisplayChatMessage.

patch

1.00

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