Jump to content

Скрипт на фреймы


Fakeprotoplolz

Recommended Posts

Скиньте или подскажите откуда накопать скрипт на черный фрейм панели заклинаний ?

К черту эти скрипты на фреймы, уг же получается (хотя у всех свой вкусы)....

[ATTACH=CONFIG]20414[/ATTACH]

[spoiler=скрипт]

local eventframe=CreateFrame("Frame")

eventframe:RegisterEvent("ADDON_LOADED")

eventframe:RegisterEvent("PLAYER_ENTERING_WORLD")

eventframe:SetScript("OnEvent", function(self, event, addon)

if addon=="Blizzard_TimeManager" or event=="PLAYER_ENTERING_WORLD" then

for i,v in pairs({

PlayerFrameTexture,

TargetFrameTextureFrameTexture,

PetFrameTexture,

PartyMemberFrame1Texture,

PartyMemberFrame2Texture,

PartyMemberFrame3Texture,

PartyMemberFrame4Texture,

PartyMemberFrame1PetFrameTexture,

PartyMemberFrame2PetFrameTexture,

PartyMemberFrame3PetFrameTexture,

PartyMemberFrame4PetFrameTexture,

FocusFrameTextureFrameTexture,

TargetFrameToTTextureFrameTexture,

FocusFrameToTTextureFrameTexture,

MinimapBorder,

MiniMapMailBorder,

MiniMapBattlefieldBorder,

MiniMapLFGFrameBorder,

CastingBarFrameBorder,

FocusFrameSpellBarBorder,

TargetFrameSpellBarBorder,

select(1, TimeManagerClockButton:GetRegions()),

select(1, GameTimeFrame:GetRegions()),

 

BonusActionBarFrameTexture0,

BonusActionBarFrameTexture1,

BonusActionBarFrameTexture2,

BonusActionBarFrameTexture3,

BonusActionBarFrameTexture4,

MainMenuBarTexture0,

MainMenuBarTexture1,

MainMenuBarTexture2,

MainMenuBarTexture3,

MainMenuMaxLevelBar0,

MainMenuMaxLevelBar1,

MainMenuMaxLevelBar2,

MainMenuMaxLevelBar3,

 

MainMenuBarLeftEndCap,

MainMenuBarRightEndCap,

}) do

v:SetVertexColor(.1, .1, .1)

end

elseif addon=="Blizzard_ArenaUI" then

for i,v in pairs({

ArenaEnemyFrame1Texture,

ArenaEnemyFrame2Texture,

ArenaEnemyFrame3Texture,

ArenaEnemyFrame4Texture,

ArenaEnemyFrame5Texture,

}) do

v:SetVertexColor(.1, .1, .1)

end

end

end)

 

 

Лучше аддончик скачать ^_^

[ATTACH=CONFIG]20417[/ATTACH]

Например этот.

Edited by nastyasia
скрины.
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...