1. #1
    Deleted

    Help with script! Please!

    Ok so I got this problem with KGpanels, I dont got that much script knowledge and I do like to change UI alot, so came here asking for abit of help
    with script code.

    What do I want?
    As shown in image I got one pic with one I target something and one wich I aint, and that empty edit is KGpanels, now to my lack of script knowledge;
    I want that to only show when I target someone, so it act like a frame and not a background edit and to know what type of script I could use to achieve that, so basicly I want Kgpanel to only show when I target someone in my target frame.

    Here are some pic to show how it looks.




  2. #2
    Deleted
    OnLoad:
    Code:
    self:RegisterEvent("PLAYER_TARGET_CHANGED")
    OnEvent:
    Code:
    self[UnitExists("target") and "Show" or "Hide"](self)

  3. #3
    Deleted
    Quote Originally Posted by Treeston View Post
    OnLoad:
    Code:
    self:RegisterEvent("PLAYER_TARGET_CHANGED")
    OnEvent:
    Code:
    self[UnitExists("target") and "Show" or "Hide"](self)

    Cheers awsome mate! worked out fine! thousand thanks to you! made my day!

Posting Permissions

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