HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Error Messages

10-22-2004, 06:48 AM#1
Miningjrk
Hey,

Is it possible, with triggers, to force the game to display a pre-existing (game play interface) error message. Like "Item cannot be dropped" or any of those?

-Miningjrk
10-22-2004, 07:15 AM#2
Guest
There's a JASS snipet on wc3sear.ch that does just that. Except that the text won't be in the right place, because the area for displaying game messages starts above where the error messages usually show up... you can even localize it into the appropriate language, iirc.

If I was going to do that, tho, I'd probably settle for just the error-message sound and the visual reinforcement of nothing happening.
10-22-2004, 07:38 AM#3
Miningjrk
Unfortunately, that would be too low for what im doing, since its using an item. If you click an item and nothing happens when your in the middle of a tough situation, it can be tough to realize what happened. Therefore i want it to be crystal clear (plus it helps the noobies out there (new to my map))

Thanks though.

-Miningjrk
10-22-2004, 09:31 AM#4
iNfraNe
U could try making a dummy hero, and letting him drop an item you cant drop. This might display the error.
10-22-2004, 04:05 PM#5
Miningjrk
Thats ok, I found the jass snippet, its exactly what I need. Thanks!

-Miningjrk