View Single Post
04-26-11, 01:12 AM   #9
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
Originally Posted by Duugu View Post
afaik boss1-bossx (4?) is valid unit id.

[E]

"bossN" The active bosses of the current encounter if available N (1,2,3 or 4). (Added in 3.3.0)

http://www.wowpedia.org/UnitId
I was referring to this post
Originally Posted by crowds View Post
I use tukui, which does have a boss frame. But im after a way of triggering an event when the boss health reaches say 15-20% and so do really want to rely on having to keep an eye on the health of the boss frame.
I presume if wow can create a boss frame with or without it being targeted the there is a way of monitoring its health.
Instead of say: local health UnitHealth("target") would it work if I used the boss name : local health UnitHealth("General Husam")... but how could i automaticaly get the boss name without targeting it ?

like... on_combat_start getbossname() type thing
  Reply With Quote