Reply
 
Thread Tools Display Modes
Old 01-02-13, 12:41 AM   #1
nin
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 210
Tsulong

Heya!

I just had an idea of something i would like in my layout, but i don't know if its even possible.

I would love if it was possible to be able to have Tsulong show as a unit on my raidframe when he goes friendly/day phase.

Thanks for any info if it's possible !
nin is offline   Reply With Quote
Old 01-02-13, 04:38 AM   #2
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 751
From a dev POV, doesn't all bosses use the "arena" units? If not, then you must use focus to implement this feature, having the user manually focus for you, then filtering showing/hiding the unit based on hostility. I guess it can be done.
__________________
Profile: Curse | Wowhead
Vlad is offline   Reply With Quote
Old 01-02-13, 12:24 PM   #3
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 903
In theory you could spawn any frame as another one.

For example
Code:
oUF_Boss1:Show(); oUF_Boss1.Hide = function() end oUF_Boss1.unit = "player"
will spawn the player frame as boss frame one. I'm using this for testing purposes.

Which means you could probably spawn a frame when you encounter said boss via targeting him or through whatever condition seems reasonable. You should be able to spawn it as (another) boss frame that looks and matches the appearance and position of your raidframes.

@Vlad
I suppose you know it, but just in case, there's a difference between boss and arena frames/units. They spawn separately.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Dawn is offline   Reply With Quote
Old 01-02-13, 02:42 PM   #4
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 751
I dunno, Dawn. Last/first time I did Blackwing Descent, Nefarian and Onyxia used the "arena1" and "arena2" units, and appear on the right side under the minimap, just like arena units appear usually.

Maybe "boss#" and "arena#" are the same thing. :P
__________________
Profile: Curse | Wowhead
Vlad is offline   Reply With Quote
Old 01-03-13, 05:21 AM   #5
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 903
I only know that I can spawn both and they are different. I'll pay some attention to what's what next time I see them.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Dawn is offline   Reply With Quote
Reply

Go BackWoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Tsulong

Thread Tools
Display Modes

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