![]() Notice how all tags start and end with (content) Įa contents - This is where the magic happens. When an event occurs in WoW, if we had previously registered for an event, WoW will let us know that the event had occurred and will call this function found in the. When the AddOn loads (logging in, reloading, etc) call the associated function ("eCoordinates_OnLoad") found in the. Line 4: - Formally states there will be action occurring with this frame. Everything between and give the frame its properties. Later on, you may have multiple XML and LUA files referenced in the same XML file. Line 1: links this specific XML file to the specific a file. # Author: eSaith - Not required author ofĮa - Required, lets WoW know what Lua file it's looking for. # Notes: Simple GPS - AddOn tooltip on loading screen. # Version: 1.0 - Version number (if there are multiple versions) # Title: eCoordinates - Name shown when viewing AddOn list. Copy and paste into your chat box while in-gameĮCoordinates.toc contents Start # Interface: 60200 - Required. I may ask you to run something in your game client. Two dashes (-) are used to create comments in both. lua file can be seen after reloading your screen. The other two files may be edited while the game is open. If you edit this file at any point you must exit the game and reenter. Therefore, any edits must be saved prior to opening up WOW client for testing. ![]() toc file as the program is first loading and logging into the server. Note: If you have or similar, you will fail. ![]() Create and save each of these files with their respected names and extensions. egĬ:\Program Files (x86)\World of Warcraft\Interface\AddOns\eCoordinates\ lua file all of which have the same name and located in a folder named the same which must be located in your Interface/AddOns folder. In a skeleton AddOn (bare bones) there are 3 files: an. Minor programming experience with any language is recommended. This AddOn will give you your character's (x, y) coordinates located under the Mini map and it will updated in real time as you move around. Note: The formatting alone makes this look longer than it really is.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |