Thread Tools Display Modes
12-17-10, 07:09 PM   #1
Charming Charles
A Kobold Labourer
Join Date: Dec 2010
Posts: 1
Need help with basics

Just starting to write addons, thanks for your help in advance!

I need some simple examples to start learning, trying to show a solid color box in the center of screen when certain event happens. In particular for the following few conditions:

1. The third (for example) rune of death knight is ready to use.
2. The player (myself) gains a particular buff.
3. Enemy target has a certain debuff cast by myself.
4. If a spell with CD is ready to use.

I know there are existing addons for these things. But I really want to write my own codes! Digging into other's codes of thousands of lines is not fun either...Again, thanks guys!
  Reply With Quote
12-18-10, 06:24 AM   #2
Smacker
A Deviate Faerie Dragon
 
Smacker's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2009
Posts: 16
I suggest you have a look at how events work first http://www.wowpedia.org/Events_(API). This will let you determine when certain conditions are met. I'd point you at some of my code but it is one of those 1000's of lines addons
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Need help with basics


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