mamalesno.blogg.se

World of warcraft creating addons
World of warcraft creating addons









world of warcraft creating addons

Using these resources you will be able to easily look up all of the API functions and events you will need to help you code your addon. A couple great options for this are the WoW Programming website and WoWWiki. We will also be making use of the WoW API so you will want to keep a reference for it handy as well. If you are just getting started with Lua, you can find the language reference page here.

world of warcraft creating addons

# Interface: 80000 # Title: Intellect 4 Dummies # Notes: Reminds you to cast Intellect if you are a dummy # Version: 1.0 # Author: MStewGTĪfter our TOC file is complete we can start on our Lua code that will be the meat of our actual addon functionality. You could also grab it from the TOC file of any other up-to-date addon. One of the most reliable ways to do this is to launch the game, log in as any character, and execute the following script from your chat window. The first thing we will need is the interface number which represents the current version of the WoW client. Let’s go ahead and edit our TOC file to include some important information about our addon. Inside this folder you will need to start by creating a TOC file of the same name, for example: \AddOns\Intellect4Dummies\Intellect4Dummies.toc. Once you have a name you will want to create a folder under World of Warcraft\Interface\AddOns with the name you have dreamed up. I felt the only obvious choice for mine was Intellect 4 Dummies. The first thing you need to do is come up with a name for your addon. I immediately knew what I wanted to make since I have been raiding as a Mage and I am always getting nagged for my Arcane Intellect buff.

world of warcraft creating addons

So what did I decide to do, learn some Lua and make a WoW addon of course. Being a long-time (since vanilla) WoW player, I had never thought of Lua being used for anything other than writing addons. So you wanna make your own WoW addon? Let’s walk through the most basic steps to get you started!ĭuring my infinite Twitch browsing I recently came across lelandkwong’s channel where he is developing a game in Lua.











World of warcraft creating addons