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!
Let me give you one piece of advice: Do not try to convert some Code from GUI to Jass. This will always result in terrible unreadable code.
Also you should know that Jass is not some wonder-thing which makes everything easier, efficient and leakless. So you will have to understand the basics.
So if you want to do this in vJass (yes vJass, there is no reason using old jass unless you want to create all your variables in gui and write thousands of stupid lines) you would start by creating a library or scope where you will put all your code.
Then you define a struct which holds all the variables you need for the spell.
Then you basically write three function which do the same thing as your three GUI-Triggers. The easiest way is to use one timer per spell-instance and attach the struct to it using Timer-Utils.
You should start with understanding functions, expressions, variables, loops, functions, if-then-elseif-else and functions.
I think this tutorial is the best for this: Introduction to JASS - Wc3campaigns
After that you should read about globals, scopes, libraries and structs in the jasshelpermanual.
Now you got the basic structure of the language and should look at some spells other people have made and try to understand every detail of how they work. Try to add comments to every single line and descripe what that line does to control yourself.
Then try to make your own spell, start with some simple examples.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.