Genyuumaru
New Member
- Reaction score
- 15
I have been a GUI triggerer for a very long time now. I pretty much knew what Jass realy is and the only benefit I see from jumping GUI to Jass is the ability to use local variables.
It took me 30 minutes to learn how Jass works (I know a couple of programming languages) and the use of local variables realy helped me in some triggers.
People say that Jass makes your triggers cleaner and run more smoothly. Well I think that's trashtalk. The triggers will run more "smoothly" by some 1 or 2%. I also heard a statement in a tutorial like: "A lot of people say that GUI is faster, because it is easier, but no. Jass is faster, because you write on the keyboard faster than you click the mouse." Umm... Is this guy serious? Well, who's faster in remembering all the fucking functions?
So far everything is working, except for the topic name.
From what I understand, local variables can be used in that same function where you created them. What's the point of local countdown timers? Most likely you can't add "local timer expires" as an event. So what are they for?
Creating a trigger like:
will not make your triggers run smoothly! It will cause unnecessary lag.
So... How do you do it? Like for example I want to make a MUI push trigger with the use of timers (local ones). And I don't realy think that the use of the code I gave will be very great...
It took me 30 minutes to learn how Jass works (I know a couple of programming languages) and the use of local variables realy helped me in some triggers.
People say that Jass makes your triggers cleaner and run more smoothly. Well I think that's trashtalk. The triggers will run more "smoothly" by some 1 or 2%. I also heard a statement in a tutorial like: "A lot of people say that GUI is faster, because it is easier, but no. Jass is faster, because you write on the keyboard faster than you click the mouse." Umm... Is this guy serious? Well, who's faster in remembering all the fucking functions?
So far everything is working, except for the topic name.
From what I understand, local variables can be used in that same function where you created them. What's the point of local countdown timers? Most likely you can't add "local timer expires" as an event. So what are they for?
Creating a trigger like:
Code:
loop
exitwhen Remaining time of "timer" == 0 seconds
endloop
So... How do you do it? Like for example I want to make a MUI push trigger with the use of timers (local ones). And I don't realy think that the use of the code I gave will be very great...