• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Add a GUI [TRIGGER][/TRIGGER] one-liner tag.

Status
Not open for further replies.
Level 22
Joined
Nov 14, 2008
Messages
3,256
Dear community.

Posting GUI code as a one-liner is quite pointless and creates difficulties to read (especially in tutorials) if there's text in between as they stretch across the screen. And instead of taking screenshots and uploading 1kb pictures there should be a tag for this.

As instead of being like this:

  • Unit - A unit Starts the effect of an ability
It should be like this(you have to click on it and it's useless as the background is white, screwing my point):
guiexampleoneliner.png

Yeah I know that the picture doesn't show enough but the point is to cut of all the white behind the word "ability".

In JASS we have the [icode=jass][/icode] tag which allows us to do it easier for both our selves and for the user to read.


In JASS

JASS:
This is a JASS tag

And this is a LJASS tag

This is a normal and stretched GUI trigger tag

  • Hello
And this is a picture that shows how it should be with f*ing white background that screws it up (again).

guiexampleoneliner.png


The tag should probably be named as ljass (lgui/ltrigger?).

Thanks for taking this into consideration (hopefully).

~baassee
 
Status
Not open for further replies.
Top