DisplayTimedTextToPlayer
- Parameters
toPlayer playertarget player
x realnew text box position (default is 0, clamped to: 0.0-1.0)
y realnew text box position (default is 0, clamped to: 0.0-1.0)
duration realtext lifetime in seconds
message stringtext (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:
DisplayTextToPlayerfor the full description. Also:DisplayTimedTextFromPlayer,BlzDisplayChatMessage.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native DisplayTimedTextToPlayer takes player toPlayer, real x, real y, real duration, string message returns nothing