- DETERMINE SIZE OF STRUCTURE WORLD EDITOR WARCRAFT 3 CODE
- DETERMINE SIZE OF STRUCTURE WORLD EDITOR WARCRAFT 3 FREE
The last possibility - of course, is to write an addon.
DETERMINE SIZE OF STRUCTURE WORLD EDITOR WARCRAFT 3 CODE
You can also execute code with WeakAuras, although this is a whole new and different thing to learn. This is your best friend when testing new code snippets you would like to incorporate into your addon later. You can write down what you want and execute it. It provides a text editor without character limitation. The next one is the WoWLua addon mentioned above. But if done right, these 255 characters can do a lot. You can also put this in a macro, limited to 255 characters. The easiest one is to write /run into the chat frame, but this has the same text length limitations as if you were writing to a friend. You should put that back to 0 while actually playing WoW because it can be quite annoying having those errors pop up. This will give you a small window with more information about any Lua errors. Do that by typing /console scriptErrors 1 into the chat. Last but not least you should activate the reporting of Lua errors. Its last version was designed for BFA, but it works in SL and Classic as well. With its help you can easily edit and run code ingame. Basic knowledge about programming is useful, but Lua in combination with WoW is a good opportunity to start from scratch because it is very lightweight.Ī good WoW addon helping you experiment with Lua is WowLua. Enough time and a good text editor like notepad++ should be enough. To start writing a WoW addon you do not need much.
DETERMINE SIZE OF STRUCTURE WORLD EDITOR WARCRAFT 3 FREE
If you have any questions, suggestions or corrections, feel free to leave a comment or catch me on via Michi#2174. But this should not be treated in this beginner's guide and is not necessary for successfully writing well-performing addons. You cannot know every method or return value by heart, but if you know the basics you can quickly look them up at almost no time and start using them.įor those wanting to read about advanced Lua techniques: I might do another guide in the future about optimising code, object oriented programming in Lua and other techniques. I would like to provide an introduction to WoW Lua coding, which puts you in a position to gather the rest of the information yourself. Always come back to it if you have time and motivation and you will begin to understand more and more. This is nothing you will be able to fully understand on a single evening if you have never been in touch with programming before. If you are still interested, we will create a small example addon. I will start from the very beginning with some basic explanations and from then on we will move forward into Lua. I want to provide such an introduction to those highly motivated players with their own ideas for tons of addons. There are several websites which document the ingame API, but most of the things you still have to find out for yourself. What held me back a couple of times was the relatively high hurdle on starting because it is not very well-documented. Being into programming since 2001 and into WoW since 2006 it was only a question of time that I started looking into WoW addon programming.