JASS ? GUI ? Oh hi !

Rockerboy

New Member
Reaction score
0
Hello everyone .
I am still new to JASS and GUI !
I had read through many many of the tutorials ...
but it seems that all of it doesnt solve my question

So I had decided the most directly way ,
post a thread at here and get the help from everyone !

My question is :
I see JASS is a convert of GUI .
But I wonder what if i convert GUI into JASS ,
and how could I load up my JASS in another game ?

example :
I convert a trigger from " A " game to a formation of JASS.
so now I load up " B " game .
I wanted to make the trigger at " A " game loads up in " B " game .
Is there any way other than re-making the GUI again ?
Can I just load the JASS script that I converted in " A " game ?

Any help will be totally appreciated .
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
Jass is a scripting syntax.
GUI is a Graphical User Interface, this is the term for a scripting syntax which is put into a sandbox trigger building system.

what does that mean?
GUI is like a blunt-instrument-form of Jass, nested into those funny shiny buttons one cannot make a typo or crash the game using GUI.
however, the drawback is GUI IS slower then jass, not because the computer has to translate it, this is done when the map is saved, but because a GUI trigger converted into jass most of the time looks like the worst mess.

as i said, the maps only use jass scripts, GUI triggers are converted to jass when saving the game. using jass will not just give you a broader scope of possibilities but also increase the effectivity of your coding dramatically (not that it matters alot nowadays).
however, jass is not for everyone, especially if you havent ever scripted something. there are many mistakes one can make, every typo will result in a bunch of syntax errors upon saving. and without any library to look up all kinds of natives you wont get far as a newby.

seing as wc3 is slowly fading today i myself wouldnt effort learning jass only to make some maps, however, if you got the time and the talent and the will to do so i would definitely say do it.

to answer your other questions, GUI can be translated into jass easily, but it will look like horrible jass written by the most stupid dump who ever attempted to script a programm but there is no way to translate it back to GUI, it would be too hard for a computer to do so.

and you can copy both GUI or Jass triggers/scripts into other maps, as long as the variables are there they will work.
 

luorax

Invasion in Duskwood
Reaction score
67
I see JASS is a convert of GUI .


No. GUI is a user-friendly Graphichal User Interface, made to make the things easier for beginners. GUI triggers are converted to JASS when you save the map.
 

Risen

New Member
Reaction score
4
Once you use Vexorians Map Optimizer on your map, most of the horrible, inefficient GUI code gets cleaned up.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top