• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] How do I use call DisplayTimedTextToPlayer? (JASS)

Status
Not open for further replies.
How do I use call DisplayTimedTextToPlayer?


I made this but it doesn't work
call DisplayTimedTextToPlayer(GetTriggerPlayer(), 0, 0, 15, "|cffffcc00" + udg_Pnt_Error)

It looks fine to me. My guess is that GetTriggerPlayer() is null in that case (you should check if it actually refers to a player), or if you get a syntax error then it probably means udg_Pnt_Error is not a string (you may need to convert it using R2S or I2S in that case).
 
Status
Not open for further replies.
Top