- Joined
- Jan 21, 2006
- Messages
- 2,552
-
Custom script: call PrintDamageToPlayer(1, GetTriggerPlayer())
real
variable, which dictates how long the message will be displayed. In addition to that you need to end GetTriggerPlayer
with ()
, because it is also a function (a native function provided by the Warcraft III engine).The above custom script will display to
GetTriggerPlayer()
for 1 second. The 1 could be any number (whole or decimal) above 0 (because negative time doesn't make sense).