Error Message

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Is there any way in GUI that we can display custom-made Error Message
For example, the famous "Spell is not ready yet"
I wanna make so that when a player is not enough level to enter a certain area, an error message would appear such as "Not enough level" and create that "error" sound + gold-like color text message appear at near-middle of the screen
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
You can either change a standard error message (such as the food limit one if you don't use food in your map) to display what you want, or you can use:

JASS:
call DisplayTextToPlayer(Player(0), 1.0, 0., "Test")
Which will show message "Test" to Player(0) with coordinates (1.0, 0.0).
Negative coordinates don't work and x = 1.0 will return the center of the screen.
(And the color they use is probably "|c00ffcc00").
 
Status
Not open for further replies.
Top