• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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