Forum: Lua/XML Help
07-15-21, 07:57 AM
|
Replies: 3
Views: 2,263
|
Forum: Lua/XML Help
05-20-21, 08:44 AM
|
Replies: 15
Views: 4,253
|
Forum: Lua/XML Help
05-07-21, 11:58 AM
|
Replies: 14
Views: 3,757
It should be something as simple...
It should be something as simple as:
hooksecurefunc("DefaultCompactUnitFrameSetup", function(frame)
frame.myHealPrediction:SetTexture([[Raid-Bar-Hp-Fill.blp]])
...
|
Forum: Lua/XML Help
05-07-21, 11:43 AM
|
Replies: 14
Views: 3,757
The size is set via SetPoint calls in...
The size is set via SetPoint calls in CompactUnitFrameUtil_UpdateFillBar. It is called as: CompactUnitFrameUtil_UpdateFillBar(frame, healthTexture, frame.myHealPrediction, myIncomingHeal,...
|
Forum: Lua/XML Help
05-07-21, 10:09 AM
|
Replies: 14
Views: 3,757
It seems that SetColorTexture respects any...
It seems that SetColorTexture respects any SetGradient in place but SetVertexColor overrides SetGradient. Since SetColorTexture is set to pure white by default we just need to use SetVertexColor to...
|
Forum: Lua/XML Help
05-07-21, 07:27 AM
|
Replies: 14
Views: 3,757
This should remove the...
This should remove the gradient:
frame.myHealPrediction:SetGradient("VERTICAL", 255, 255, 255, 255, 255, 255)
|
Forum: Lua/XML Help
05-07-21, 07:14 AM
|
Replies: 8
Views: 3,172
Blizzard added that functionality awhile...
Blizzard added that functionality awhile ago:
local f = CreateFrame("Frame",nil,UIParent)
f.tex = f:CreateTexture()
f.tex:SetAllPoints(f)
f.tex:SetColorTexture(0.5, 0.2, 1 ,...
|
Forum: Lua/XML Help
03-05-21, 01:19 PM
|
Replies: 10
Views: 5,736
|
Forum: Lua/XML Help
03-02-21, 12:15 AM
|
Replies: 10
Views: 5,736
|
Forum: Lua/XML Help
03-01-21, 07:27 AM
|
Replies: 10
Views: 5,736
|
Forum: Lua/XML Help
02-20-21, 05:41 PM
|
Replies: 2
Views: 1,997
NotifyChange is for when something outside of...
NotifyChange is for when something outside of your AceConfig changes a value while the config is open and you want it updated. Changing a setting within AceConfig automatically updates your options....
|
Forum: Lua/XML Help
02-09-21, 05:33 PM
|
Replies: 2
Views: 1,873
|
Forum: Lua/XML Help
01-29-21, 07:45 AM
|
Replies: 2
Views: 2,439
|
Forum: AddOn Help/Support
01-25-21, 05:09 PM
|
Replies: 7
Views: 4,763
The OP only wanted commas between numbers...
The OP only wanted commas between numbers removed, not all commas.
Using the OP's sample text:
"The number 45,678 is big, but 1,234 is small."
Kanegasi's result:
"The number 45678 is big, but...
|
Forum: Lua/XML Help
01-22-21, 12:24 PM
|
Replies: 4
Views: 5,888
|
Forum: AddOn Help/Support
01-03-21, 08:09 AM
|
Replies: 17
Views: 12,410
hooksecurefunc("QuestLogQuests_Update",...
hooksecurefunc("QuestLogQuests_Update", function()
for button in QuestScrollFrame.headerFramePool:EnumerateActive() do
-- button.questLogIndex
button.ButtonText:SetText("My translated...
|
Forum: AddOn Help/Support
01-02-21, 05:56 PM
|
Replies: 17
Views: 12,410
hooksecurefunc("QuestLogQuests_Update",...
hooksecurefunc("QuestLogQuests_Update", function()
for button in QuestScrollFrame.headerFramePool:EnumerateActive() do
button.ButtonText:SetText("My translated header")
end
for button in...
|
Forum: AddOn Help/Support
01-02-21, 11:15 AM
|
Replies: 17
Views: 12,410
|
Forum: AddOn Help/Support
01-01-21, 10:33 PM
|
Replies: 17
Views: 12,410
hooksecurefunc(QUEST_TRACKER_MODULE,...
hooksecurefunc(QUEST_TRACKER_MODULE, "SetBlockHeader", function(self, block)
print("QuestID:", block.id)
print("QuestHeader:", block.HeaderText:GetText())
print("QuestObjectives:")
local...
|
Forum: Lua/XML Help
12-31-20, 07:47 PM
|
Replies: 2
Views: 10,869
function ADDITEMTOLISTFUNCTION()
if...
function ADDITEMTOLISTFUNCTION()
if GameTooltip:IsShown() then
local _, itemLink = GameTooltip:GetItem()
if itemLink then
local itemID = GetItemInfoFromHyperlink(itemLink)
if itemID...
|
Forum: Lua/XML Help
12-31-20, 03:24 PM
|
Replies: 3
Views: 3,936
|
Forum: AddOn Help/Support
12-29-20, 05:21 PM
|
Replies: 17
Views: 12,410
local regions = {...
local regions = { QuestMapFrame.DetailsFrame.RewardsFrame:GetRegions() }
for index = 1, #regions do
local region = regions[index]
if region:GetObjectType() == "FontString" and region:GetText() ==...
|
Forum: Lua/XML Help
12-29-20, 05:05 PM
|
Replies: 4
Views: 4,439
|
Forum: AddOn Help/Support
12-29-20, 02:10 PM
|
Replies: 17
Views: 12,410
|
Forum: Lua/XML Help
12-29-20, 11:13 AM
|
Replies: 5
Views: 4,345
|