Thread Tools Display Modes
03-07-15, 10:46 AM   #1
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations
Join Date: Sep 2011
Posts: 111
WeakAuras help

So, I wanted 3D models that show my player and current target over the frame. I found a string for target that (somewhat) works and tried to change the code for player and it (also somewhat) works. I was wondering if, for the target one, anyone knew how to fix a problem I have with it. It seems to break when I switch targets (defaults to the LK model) and certain models appear much lower than others.

(Event Trigger)
Code:
function()
    if UnitExists("target") then
        return true
    end
    return false
end
(Untrigger)
Code:
function()
    return true
end
(Duration)
Code:
function()
    WeakAuras.regions["TargetModel"].region.model:SetUnit("target") 
    return 0,0
end

Last edited by Mirrikh : 03-07-15 at 11:23 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » WeakAuras 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