1. Personal Health and Target Health addon

    Greetings reader,

    I am as evident from the name of the topic searching for an addon that will provide me with the ability to move ONLY my own health and that of my target, much alike Xpearl, however not so flashy and without any other frames included. I've been reffered to move everything, but it doesnt seem to be working properly for me : http://imgur.com/a/kq5e8 there is simply no way to interact with the addon.

    Do any of you addon masters have a way of assisting me?
    Many thanks

  2. Easiest way to achieve what you want. You will have to adjust x,y coordinates naturally.

    /run local x,y = 10, 25 PlayerFrame:ClearAllPoints() PlayerFrame:SetPoint("CENTER", UIParent, "CENTER", x, y)
    /run local x,y = 25, 10 TargetFrame:ClearAllPoints() TargetFrame:SetPoint("CENTER", UIParent, "CENTER", x, y)

    You can use following code inside addon:

    local f = CreateFrame("Frame")

    f:SetScript("OnEvent", function()
    --[[ Moves the player frame ]]--
    local x,y = 10, 25 PlayerFrame:ClearAllPoints() PlayerFrame:SetPoint("CENTER", UIParent, "CENTER", x, y)


    --[[ Moves the target frame ]]--
    local x,y = 25, 10 TargetFrame:ClearAllPoints() TargetFrame:SetPoint("CENTER", UIParent, "CENTER", x, y)

    end)

    f:RegisterEvent("PLAYER_ENTERING_WORLD")

  3. Amazing. The /runs were exactly what i needed ! Thanks a ton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •