|
|
#1091 | ||
|
Member
Join Date: Oct 2007
Posts: 35
|
K, i might be blind or just stupid, but i just can't fix this :S
I'm trying to have a panel to work for just a specific classmod that i use, so it wont show up on any of my other characters. But the "Script Dependency" doesn't seems to work (or im doing something wrong). OnLoad Quote:
Quote:
|
||
|
|
|
|
|
#1092 | |
|
Member
Join Date: Sep 2009
Posts: 21
|
Quote:
<OnLoad> self:RegisterEvent( "PLAYER_ENTERING_WORLD" ) self:Hide() <OnEvent> local playerClass, englishClass = UnitClass("player"); if englishClass == "SHAMAN" then self:Show() end http://www.wowwiki.com/API_UnitClass |
|
|
|
|
|
|
#1093 | |
|
Member
Join Date: Oct 2007
Posts: 35
|
Quote:
Made a few modification so the texture im using only shows if u play a class that uses stances/special bars But works like a charm! |
|
|
|
|
|
|
#1094 |
|
Member
Join Date: Oct 2007
Posts: 35
|
Hrm, having another issue... Have a look at these 2 pics:
![]() ![]() Any reason why kgPanels acts like this? I haven't changed anything with either my actionbar mod or kgPanels itself... |
|
|
|
|
|
#1095 |
|
Legendary Member
Join Date: May 2006
Posts: 6,102
|
It's not kgPanels doing anything. In one screenshot, you have just hte rep bar showing. In the other, you have both the rep and exp bar up.
|
|
|
|
|
|
#1096 | |
|
Member
Join Date: Oct 2007
Posts: 35
|
Quote:
Well, here comes the next question then: How to make the panel match the height of my actionbar... Since the actionbar im using only shows both bars when im not lvl 80 ![]() |
|
|
|
|
|
|
#1097 | |
|
Member
Join Date: Sep 2009
Posts: 21
|
Quote:
<OnLoad> self:RegisterEvent( "PLAYER_ENTERING_WORLD" ) self:RegisterEvent( "PLAYER_LEVEL_UP" ) self.playerLevel = UnitLevel( "player" ) self.lvl80FrameHeight = 50 self.xpBarHeight = 10 <OnEvent> if event == "PLAYER_LEVEL_UP" then if arg1 == "player" then self.playerLevel = UnitLevel( "player" ) end end -- This should be run on login and if a player levels up if self.playerLevel ~= 80 then self:SetHeight( self.lvl80FrameHeight + self.xpBarHeight ) else self:SetHeight( self.lvl80FrameHeight ) end http://www.wowwiki.com/API_UnitLevel http://www.wowwiki.com/Events/P (for PLAYER_LEVEL_UP and PLAYER_ENTERING_WORLD events) Change the self.lvl80FrameHeight and self.xpBarHeight variables to the appropriate heights and try it out. |
|
|
|
|
|
|
#1098 | |
|
Member
Join Date: Oct 2007
Posts: 35
|
Quote:
worked as intended, even tho i had to play around with the code for a bit before i realized how to make it work ![]() |
|
|
|
|
|
|
#1099 | |
|
Newbie
Join Date: Apr 2009
Posts: 1
|
im getting the script where you enter a city it shows or hides a panel work, im not sure but I have exausted everything,lol, does it still work?
Quote:
|
|
|
|
|
|
|
#1100 |
|
Newbie
Join Date: May 2009
Posts: 1
|
Hey guys , im kinda new to this and i've got a question.
My ui looks like this: ![]() My question is about profile switching, what didn't seem to work. When i log my alt character and change the color of the red Layouts to Green of the Alt his profile . it automaticly ALSO changes the profile of my Main and made the red images to green. Ive tried some things already. 1. Made layouts like Actionbarhunter , Actionbardruid (those look the same), and change the color of Actionbardruid to green. but the Hunter also went green. 2. i thought , maybe the problem is because its the same File/Image . so ive made 2 of each layout so i could make 1 red and the other 1 green . but after putting them into WoW . it gave the same problem Sorry if my spelling is bad, and because of that it isn't understandable . ask me ! |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 09:06 AM.
WowAce Forums





Made a few modification so the texture im using only shows if u play a class that uses stances/special bars
But works like a charm!





