Quantcast
oUF Raidframe always visible - WoWInterface
Thread Tools Display Modes
07-19-10, 03:08 PM   #1
OmeCorn
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 15
oUF Raidframe always visible

Hiya all,

I've been trying to modify a raidframe based on the oUF Framework, but I can't get the frame to show when I'm Solo or in a Party. Can somebody help me with that. I believe the hidden secret lies within this piece of code:

Code:
    local raid = {}
    for i = 1, oUF_Neav.units.raid.numGroups do
        table.insert(raid, self:SpawnHeader('oUF_Neav_Raid'..i, nil, visible,
            'showParty', true,
            'showPlayer', true,
            'showSolo', (oUF_Neav.units.raid.showSolo and true) or false,
            'showRaid', true,
            'columnSpacing', 7,
            'unitsPerColumn', 1,
            'maxColumns', 5,
            'columnAnchorPoint', 'TOP',
            'groupFilter', i
            )
        )
Thanks in advance.
  Reply With Quote
07-19-10, 03:41 PM   #2
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 221
This should answer your question, since haste himself explains the new SpawnHeader().

I'm not really sure, what you want to achieve, though, 'cause the code looks like it's ok... The third parameter of SpawnHeader basically controls the visibility of this, and this parameter is a variable in your code, so I can't say anything about the visibilty, without knowing Neav's code...
But just have a look into haste's posting, this will sort it out...
  Reply With Quote
07-19-10, 03:51 PM   #3
OmeCorn
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 15
Originally Posted by Mischback View Post
This should answer your question, since haste himself explains the new SpawnHeader().

I'm not really sure, what you want to achieve, though, 'cause the code looks like it's ok... The third parameter of SpawnHeader basically controls the visibility of this, and this parameter is a variable in your code, so I can't say anything about the visibilty, without knowing Neav's code...
But just have a look into haste's posting, this will sort it out...
Yeah, sorry. I wan't really clear I see now. What I want is the Grid-like frame that normally only pops up when you're in a raid to be visible all the time. But I'll look into the post you linked. Thanks for the info.
  Reply With Quote
07-19-10, 03:54 PM   #4
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 221
You should have a go with this:

Code:
    local raid = {}
    for i = 1, oUF_Neav.units.raid.numGroups do
        table.insert(raid, self:SpawnHeader('oUF_Neav_Raid'..i, nil, 'solo,party,raid',
            'showParty', true,
            'showPlayer', true,
            'showSolo', (oUF_Neav.units.raid.showSolo and true) or false,
            'showRaid', true,
            'columnSpacing', 7,
            'unitsPerColumn', 1,
            'maxColumns', 5,
            'columnAnchorPoint', 'TOP',
            'groupFilter', i
            )
        )
  Reply With Quote
07-19-10, 04:12 PM   #5
OmeCorn
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 15
Originally Posted by Mischback View Post
You should have a go with this:

Code:
    local raid = {}
    for i = 1, oUF_Neav.units.raid.numGroups do
        table.insert(raid, self:SpawnHeader('oUF_Neav_Raid'..i, nil, 'solo,party,raid',
            'showParty', true,
            'showPlayer', true,
            'showSolo', (oUF_Neav.units.raid.showSolo and true) or false,
            'showRaid', true,
            'columnSpacing', 7,
            'unitsPerColumn', 1,
            'maxColumns', 5,
            'columnAnchorPoint', 'TOP',
            'groupFilter', i
            )
        )
Hurray, it works now. Thank you.
  Reply With Quote
07-19-10, 04:14 PM   #6
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 221
Replaced 7 chars with 17, so nevermind, wasn't that much of work!
I could have copied them from haste's post anyway...
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF Raidframe always visible

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