Warcraft III resources & community, 2003–2006 · archived

Messages like "not enough gold" with JASS

8 posts
#1

Messages like "not enough gold" with JASS

Is it possible to cause a message like "not enough gold" appear in the screen in its place (in the middle)? I don't know how to use JASS, but I think the experts can so this (or not).

Thanks already.
#2
First of all, GUI is JASS. Just an simpler way to use it , with the cost of effectivness. There is no other way than make text messages like you do in GUI.
#3
Ok I understood this, but isn't there a function that shows the message? Like "nogold"?
#4
No there isn't.
#5
Ok... thanks Daminon. At least now I have a sense what is JASS. Thanks by answering.

Marcelo
#6
that's not entirely true. there is a function printing error message in a way that they seem to be from the game rather than from a script.

its a custom code i saw a few weeks ago. it might be on this site, but i'm not shru eabout it. You may look through the files uploaded here, but you may also use google -> thats how i found it.
#7
The function speak about is probably Vexorian's SimError or d'something similar. It uses the common display text native just with some configuration like position on the screen, color and a sound added.
#8
WEU has a function Text Message To Player. You can configure x and y offsets, so if you need custom error messages, you can simulate them this way