Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-31-15, 02:05 PM   #1
Trommy
A Fallenroot Satyr
 
Trommy's Avatar
Join Date: Jan 2013
Posts: 23
Command /run into config

There is a worked /run-command to move monkstaggerbar to top of playerFrame.
Code:
/run msb=MonkStaggerBar;msb:ClearAllPoints();msb:SetPoint("TOP", PlayerFrame, 49, 12)
Ofc, after UI reload, it reset. But it didnt work while ill code this to config file - frame move, but color bar and numeric not like on screen

Whats wrong in this code? And i wanna take to this bar status LOW, cuz it was behind another frames

Code:
if class == "MONK" then
 whoaUnitFrames.config.repositionPartyText = false
 MonkHarmonyBar:ClearAllPoints()
 MonkHarmonyBar:SetPoint("TOP", PlayerFrameBackground, 0, 40)
 local t1, t2 = MonkHarmonyBar:GetRegions() t1:SetTexCoord(1, 0, 1, 0) t2:SetTexCoord(1, 0, 1, 0)
 MonkStaggerBar:ClearAllPoints()
 MonkStaggerBar:SetPoint("TOP",PlayerFrame,49,12)
end
After manipulate with /dump and move founded parameter MonkStaggerBarText....color filling looks like on screen

Last edited by Trommy : 10-31-15 at 04:22 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Command /run into config


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off