Thread Tools Display Modes
09-04-09, 10:44 AM   #1
Sata
A Defias Bandit
Join Date: Sep 2009
Posts: 3
Focus target help

Originally Posted by Yourstruly View Post
If the layout you downloaded doesn't have focus target then you need to manually add it in the lua files. Sorry if that wasn't the answer you were looking for.

You could also post a suggestion to the author or tell what layout you downloaded and maybe someone helpful here might assist you.

Please try and make a new topic instead though.
In fact, i need to know how to do it in the lua files, that's what i'm looking for.
(i got the dUI layout from his minimalistic compilation)
  Reply With Quote
09-04-09, 10:56 AM   #2
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
I just read it wrong, sorry. I read it as you didn't want to go into the lua files.

Code:
local focus = oUF:Spawn("focus")
focus:SetPoint("TOP", UIParent, "CENTER", 0, -200)
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.

Last edited by v6o : 09-04-09 at 11:03 AM.
  Reply With Quote
09-04-09, 11:04 AM   #3
Sata
A Defias Bandit
Join Date: Sep 2009
Posts: 3
thanks i did that in the config.lua
Code:
coords = {
	playerX = -243,
	playerY = -429, 

	targetX = 243.5, 
	targetY = -429, 
	
	totX = 0.5,
	totY = -442,
	
	petX = 0.5,
	petY = -390,
	
	focusX = -243,
	focusY = -510,

	focustargetX = 243.5,
	focustargetY = -510,
}}}
and this in the main.lua

Code:
oUF:Spawn("focustarget", "oUF_Tukz_focustarget"):SetPoint("CENTER", cfg.focustargetX, cfg.focustargetY)
and it works fine, you helped me well dude, thx (k)

Last edited by Sata : 09-04-09 at 11:45 AM.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Focus target help


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