View Single Post
06-09-09, 10:24 AM   #2
Nafe
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 17
Originally Posted by NwK|Zulah View Post
I think everyone who writes boss mods or raid trackers would really like these events.

My suggestion would be:

BOSS_FIGHT_START - args: GUID, Name

BOSS_FIGHT_STOP - args: GUID, Name, Success(boolean)
Given that there are some multi-boss boss fights, should GUID and Name each be tables?

Code:
GUIDs = {
   [0] = GUID1,
   [1] = GUID2,
etc.
}
Names = {
   [0] = Name1,
   [1] = Name2,
etc.
}
EDIT: Opps! I started my tables indexed at 0... too much C++ right before this post. Note in Lua, table indices start at 1

Last edited by Nafe : 07-13-09 at 07:35 PM.
  Reply With Quote