• 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.

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