Warcraft III resources & community, 2003–2006 · archived

JASS vs Triggers

9 posts
#1

JASS vs Triggers

Are triggers or JASS better for spells? I mean, do JASS spells execute faster, slower, same, take less memory, more memory, etc?
#2
triggers isnt the oposite of JASS, triggers can be JASS and GUI. but ehm, JASS is only better if the spells r complicated. with JASS u can make spells multi instancible and it has less leaks (well i heard) but u can clean leaks easily with GUI to (go dl leak checker on this site)
#3
There are really only three reasons why you would want to use JASS over GUI. Number one is to make your triggers more efficient. Blizzard made almost all GUI functions more complicated than they should be and thus they cause more lag than they should. Also, those "if-then-else" loops can also be made more efficient by using JASS Number two is that you can't create/manipulate local variables with GUI. You HAVE to use JASS, and local variables make things a lot easier to work with (and a lot more efficient). The third thing is there are some functions that simply are not available in GUI, so you HAVE to use JASS to use those functions.

If your spells have a LOT of special effects/lightning effects, make units do crazy things like knockback and jumping, and you require multi-instanceability, use JASS.
#4
and local variables make things a lot easier to work with


if it was easier then why doesnt every1 use JASS?
#5
because everyone is afraid of learning jass... :D
#6
Ramza - if you're not lazy/incompetent/an I Dont Care person/n00bish, you DO use JASS :P

also, JASS is much faster than GUI ( if you can type at a competent rate ) to write, and has many features, (such as X/Y functions) that gui does not bother using

oh, and aznricepuff, to add to your list, GUI loops suck
#7
I like to learn about JASS, is more complicated. Must exists a tutorial here
#8
Ramza - if you're not lazy/incompetent/an I Dont Care person/n00bish, you DO use JASS


oh damn.. im a I Dont Care person
#9
I personally using GUI triggers with custom JASS functions if necessary, because GUI is much faster for me (making what I want) and I have enough programing in my job, so I prefer clicking:]