DisplayTimedTextToPlayer

Parameters
toPlayerplayer

target player

xreal

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

yreal

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

durationreal

text lifetime in seconds

messagestring

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

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native DisplayTimedTextToPlayer     takes player toPlayer, real x, real y, real duration, string message returns nothing