Help me write proper lua/code for my addon
Hello!
This is basically a request thread. I need help writing the right code in lua and copy paste it into my addon's core or make a new one with the help of: addon.bool.no/. I just know enough code language to sometimes be able to alter an already existing addon in how it looks in the game in some very basic ways like colour, size, position etc. So yeah Im pretty bad :D I play on a wotlk private server that runs on patch 3.3.5, in case this will matter later. I have an addon that I call "HideThings" and its this: Code:
--hides default target/focus buffs/debuffs 1. The most important thing and hopefully it isnt too much trouble. I have two other addons called: LoseControl and eBar. In those addons I have some frames that exists that I would like to be hidden during a condition. When Im in a party OR raid where there are a total of 4 people OR when party3 exists (I do not know which of these are more logical) then I want these frames to be hidden, otherwise I want them to show: eBar_bar_4 eBar_bar_5 eBar_bar_6 eBar_bar_7 LoseControlparty1 LoseControlparty2 2. I almost forgot and hardest thing. https://ibb.co/mSFzg89 https://ibb.co/60b7XW6 These pictures show 2 things that are not frames I belive. They are a apart of the nameplate. The raidicon beside the nameplate and a kind of "threatglow" around the nameplate of that wolf when I aggro him. I do not know what the raidicon is called when you refer to its visual at the nameplate but I think the threatglowing thing is called "threatglow". I want both of these to be hidden since they do not match my UI as you can see. Even if someone put raidicons on someone I do not want to see it beside their nameplate, and I do not want any glowing effect that seems to be coming from a standard blizzard nameplate UI. Help me type these things into my addon "HideThings", because when I try diffrent things with my nonexisting experience with how to format lua I just make it stop working. Would really appriciate you alot if you could help me in anyway! Thank you all for reading! |
Quote:
|
We are an official Blizzard Fan Site. Posts about private servers, beyond anything that is theoretical, are against Blizzard's rules as well as our own rules. Threads requesting assistance with private servers will be locked. Repeated requests will result in bans.
|
All times are GMT -6. The time now is 06:13 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI