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!
For future reference you can answer this sort of question yourself by making an almost-blank GUI trigger with the function/action/condition/event you want to learn the syntax for, converting it to JASS/Lua, and then looking up the functions you see. Many times you will find them to be BJs whose definitions are in Blizzard.j, and the functions those wrappers call are generally found in common.j. Just follow the chain and see what arguments would have been passed to each sub-function.
It takes a little time but if you practice it you'll get a bunch better at looking up unknown functions, even if you don't really know how to use them.
Extension for Visual Studio Code - jass插件,QQ群:786204376
marketplace.visualstudio.com
The setup is easy and Visual Studio Code is free so it should really only take you a few minutes to get it all up and running.
^ When you begin typing in VSC you'll see that box appear with a list of all related functions. It's basically the "Search For Text" box in the Actions window of the Trigger Editor. Then anytime you're working with Jass code you can copy and paste it into VSC and enjoy a modern coding experience with helpful hints and autocomplete.
The only "gotcha" is that you'll have to copy and paste the code back into the World Editor, so you'll have to bounce between the two, but it's worth it. Also, there's a weird bug that makes pasting new code slightly more complicated (typical Wc3). You need to press Control + A to select all of the existing code, press Delete to clear it, then paste in your new code.
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.