Thread Tools Display Modes
04-17-09, 05:01 PM   #1
NwK|Zulah
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 1
Post Request: BOSS_FIGHT_START / BOSS_FIGHT_STOP

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)
  Reply With Quote
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
07-09-09, 11:28 PM   #3
orionshock
A Wyrmkin Dreamwalker
 
orionshock's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 50
IF they where to implement this, i'd find it more usefull to just pass the guid of the mobs, not the names. As for the stop event, a simple true false would work, you can cache the guid's fromthe start event.
You can translate a guid to a name easy with a tooltip.
__________________
"I was there in the beginning... and things were very different back then" --An Echo from a time before.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » Request: BOSS_FIGHT_START / BOSS_FIGHT_STOP


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