Party targets
I'm trying to get party targets to spawn and it's really driving me crazy, I can't find out what's wrong.
I already have party pets working fine like that: Code:
if(unit and unit:find('partypet%d')) then Code:
local partypet = {} I'm trying it the same way for party targets: Code:
if(unit and unit:find('partytarget%d')) then Code:
local partytarget = {} I still don't see party targets in game, but only party pets? What am I doing wrong? There is NO lua error, it's just not working. Help! :) PS: I also use this in my layout which might be an issue? Code:
if(self:GetParent():GetName():match"oUF_Party") then |
Just to point it out. I'm not using an XML to spawn the pets. And I'm asking myself if it's possible to spawn the targets without it, too. Otherwise I have to recreate parts of the layout. :)
|
It's party1target, not partytarget1. oUF supports spawning of all valid units, so if something doesn't work then you most likely don't try to spawn something that can work with the WoW API.
|
Thanks haste.
It works with this Code:
if(unit and unit:find('party%dtarget')) then Code:
local partytarget = {} |
All times are GMT -6. The time now is 08:37 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI