Reply
 
Thread Tools Display Modes
Old 07-17-14, 04:17 PM   #1
Uitat
A Cliff Giant
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 76
oUF

anyone know how to force raid frames 1-40 to show in oUF so i can set the placement corectly?
__________________
Uitat is offline   Reply With Quote
Old 07-18-14, 02:28 AM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,309
Lua Code:
  1. local namelist = UnitName("player")
  2. for i = 2,40 do -- or whatever your desired group size is
  3.   namelist = namelist..","..UnitName("player")
  4. end
  5.  
  6. local raid = oUF:SpawnHeader(
  7.   -- The rest of your attributes
  8.   "nameList", namelist
  9. )
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline   Reply With Quote
Old 07-19-14, 04:38 AM   #3
Rainrider
A Rage Talon Dragon Guard
Join Date: Nov 2008
Posts: 314
zork that wasn't working the last time I tried. The first child in the header is set, the rest is not.
Rainrider is offline   Reply With Quote
Old 07-19-14, 08:41 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,176
Lua Code:
  1. local namelist = UnitName('player')
  2. for index = 2,40 do -- or whatever your desired group size is
  3.   namelist = namelist .. ',' .. UnitName('player') .. index
  4. end
  5.  
  6. local raid = oUF:SpawnHeader(
  7.   -- The rest of your attributes
  8.   'nameList', namelist
  9. )

What about this one?
p3lim is offline   Reply With Quote
Old 07-19-14, 12:55 PM   #5
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,309
Yeah does not work aswell. Even namelist "A,B" does only return the player.
Just enter Alterac Valley. Is my best bet.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline   Reply With Quote
Old 07-19-14, 10:05 PM   #6
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 3,976
If all you care about is the placement, just manually create 39 textures with the same size and anchors as your raid frames, and attach them to the first raid frame (the one showing yourself). Even if you're working on other details, this should be sufficient... as long as you can see one frame, I don't see why you'd actually need to see 40 identical frames.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Old 07-20-14, 05:22 AM   #7
Uitat
A Cliff Giant
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 76
Originally Posted by Phanx View Post
If all you care about is the placement, just manually create 39 textures with the same size and anchors as your raid frames, and attach them to the first raid frame (the one showing yourself). Even if you're working on other details, this should be sufficient... as long as you can see one frame, I don't see why you'd actually need to see 40 identical frames.
great idea, this worked for me, just made my own temporary grid to see location then got in a party to make sure frame 2 lined up right, voila!! i have the location set right. you so smart!, i would give you a cookie if i had one... one thing i gotta say is, well, your advice has been priceless, thanks again Phanx.
__________________
Uitat is offline   Reply With Quote
Reply

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

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