Thread Tools Display Modes
08-30-07, 03:31 PM   #1
Switchy
A Kobold Labourer
Join Date: Aug 2007
Posts: 1
Need Help Programming an Addon

Please bear with me here, I can only code in Visual Basic, (somewhat) C++ and (so so) MySQL, but I do not think that has anything to do with LUA and XML.

I am trying to write a VERY simple addon. It really doesn't edit any of the gameplay features or addon anything to it. What I am trying to do is write an addon that simply displays messages in a box.

Besides that, I was wondering if was possible to do the following:

Create sub frames like in visual boxes, basically a mini box located at the top right of the INFO box which have a defined size and are only separated by a line. Sort of like in Visual Basic...

If it were possible to do mini tabs when selecting a main tab. For example if I select "Tab 1" it will display a row of tabs below.

And finally, if it was possible to arrange data in to tables, like in Excel.

The final product would look something like this:



I am currently playing around with WoW UI Designer, but I am noticing there is no main code screen. So I think you just add XML files and code THAT? Or something :P

Just a summary:
  • Coding a basic addon that
    • Divides information in tabs
    • Tabs having subtabs? (only displayed when Tab # is selected)
    • Displays information in basic text
    • Display information in tables
    • Seperate information by lines


Thank you so much in advance.
  Reply With Quote
10-23-07, 12:46 AM   #2
fadedroses
A Deviate Faerie Dragon
 
fadedroses's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 10
Tables

You can create multi dimensional arrays in LUA. Check this out:
http://www.lua.org/pil/2.5.html

As for UI Designer, on the left (after you've started your project), just right-click and choose 'add LUA script' or 'add XML'.. or something to that effect.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Need Help Programming an Addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off