Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 337
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: Lua/XML Help 03-26-20, 07:06 AM
Replies: 6
Views: 164
Posted By Vrul
Same deal, adjust SetTexCoord arguments until it...

Same deal, adjust SetTexCoord arguments until it looks ok:

local myButton = CreateFrame("Button", nil,...
Forum: Lua/XML Help 03-26-20, 05:39 AM
Replies: 6
Views: 164
Posted By Vrul
I'd say mess with SetTexCoord until it looks...

I'd say mess with SetTexCoord until it looks ok:

local myButton = CreateFrame("Button", nil,...
Forum: Lua/XML Help 03-26-20, 05:12 AM
Replies: 6
Views: 164
Posted By Vrul
There are methods for button objects that seem...

There are methods for button objects that seem they would achieve this (never used them myself):
SetNormalAtlas
SetPushedAtlas
SetDisabledAtlas
SetHighlightAtlas
Forum: Lua/XML Help 03-19-20, 07:44 PM
Replies: 15
Views: 423
Posted By Vrul
Yeah, change it to this: OnLeave =...

Yeah, change it to this:

OnLeave = function(self, motion)
print("Leaving/Hiding broker frame")
if tooltip and not tooltip:IsMouseOver() then
tooltip:Release()
...
Forum: Lua/XML Help 03-19-20, 06:12 PM
Replies: 15
Views: 423
Posted By Vrul
Try getting rid of the code within the data...

Try getting rid of the code within the data broker OnLeave script. Maybe Chocolate bar doesn't pass the motion argument and that is the issue.
Forum: Lua/XML Help 03-19-20, 05:43 PM
Replies: 15
Views: 423
Posted By Vrul
If you copied the code exactly I don't see why it...

If you copied the code exactly I don't see why it wouldn't work as it works fine for me.
Forum: Lua/XML Help 03-19-20, 04:23 PM
Replies: 15
Views: 423
Posted By Vrul
You are setting an OnLeave script for the tooltip...

You are setting an OnLeave script for the tooltip which is triggered by the OnEnter script within the tooltip. You want to set an OnRelease handler instead:

local ADDON = ...

local tooltip

local...
Forum: Lua/XML Help 02-11-20, 07:20 PM
Replies: 9
Views: 414
Posted By Vrul
I used Output Search...

I used Output Search (https://www.wowinterface.com/downloads/info24041-OutputSearch.html) to look for functions in Minimap to see what was available. I entered "^set" in the search field to narrow...
Forum: Lua/XML Help 02-11-20, 05:44 PM
Replies: 9
Views: 414
Posted By Vrul
I believe direct access to the minimap player...

I believe direct access to the minimap player arrow was removed in an effort to restrict raid assist addons. But to answer your question:

Minimap:SetPlayerTexture("")
Forum: AddOn Help/Support 01-30-20, 07:06 AM
Replies: 16
Views: 991
Posted By Vrul
The event is "ADDON_LOADED" and the name of the...

The event is "ADDON_LOADED" and the name of the addon that just loaded would be "Blizzard_AzeriteEssenceUI"

local EventFrame = CreateFrame('Frame', nil, UIParent)
...
Forum: Macro Help 01-19-20, 05:06 AM
Replies: 3
Views: 370
Posted By Vrul
I think this is what you want: /run for...

I think this is what you want:

/run for i=1,MAX_ARENA_ENEMIES do local f=_G["ArenaEnemyFrame"..i];local c=f.CC;c:ClearAllPoints();c:SetPoint("LEFT",f,"RIGHT",-2,-2);c:SetSize(30,30)end

Change the...
Forum: Classic - AddOn Search/Requests 01-18-20, 09:53 AM
Replies: 38
Views: 1,558
Posted By Vrul
Add statusText:SetDrawLayer("OVERLAY", 7) after...

Add

statusText:SetDrawLayer("OVERLAY", 7)

after your ClearAllPoints/SetPoint calls

hooksecurefunc("DefaultCompactUnitFrameSetup", function(self)
local fontSize = 12 *...
Forum: Classic - AddOn Search/Requests 01-16-20, 04:37 AM
Replies: 38
Views: 1,558
Posted By Vrul
:ClearAllPoints() should...

:ClearAllPoints()

should be

statusText:ClearAllPoints()
Forum: Classic - AddOn Search/Requests 01-06-20, 08:42 PM
Replies: 38
Views: 1,558
Posted By Vrul
No. The only other option is "THICKOUTLINE" in...

No. The only other option is "THICKOUTLINE" in place of "OUTLINE" which makes is thicker.
Forum: Classic - AddOn Search/Requests 01-06-20, 07:32 PM
Replies: 38
Views: 1,558
Posted By Vrul
Same as...

Same as before:

statusText:SetFont("Fonts\\ARIALN.TTF", fontSize, "OUTLINE")
Forum: Classic - AddOn Search/Requests 01-06-20, 05:42 PM
Replies: 38
Views: 1,558
Posted By Vrul
Give this a...

Give this a shot:

hooksecurefunc("DefaultCompactUnitFrameSetup", function(self)
local fontSize = 16 * min(DefaultCompactUnitFrameSetupOptions.height / 36, DefaultCompactUnitFrameSetupOptions.width...
Forum: Classic - AddOn Search/Requests 01-06-20, 07:03 AM
Replies: 38
Views: 1,558
Posted By Vrul
Try changing the line (before the last...

Try changing the line (before the last change):

statusText:SetFont("Fonts\\ARIALN.TTF", 16)

to:

statusText:SetFont("Fonts\\ARIALN.TTF", 16 * min(DefaultCompactUnitFrameSetupOptions.height / 36,...
Forum: Classic - AddOn Search/Requests 01-05-20, 10:21 PM
Replies: 38
Views: 1,558
Posted By Vrul
Try changing the...

Try changing the line:

statusText:SetFont("Fonts\\ARIALN.TTF", 16)

to:

statusText:SetFont("Fonts\\ARIALN.TTF", 16 * (statusText:GetHeight() or 12) / 12)
Forum: Classic - AddOn Search/Requests 01-05-20, 07:12 PM
Replies: 38
Views: 1,558
Posted By Vrul
Give this a...

Give this a try:

hooksecurefunc("DefaultCompactUnitFrameSetup", function(self)
local statusText = self.statusText
statusText:SetFont("Fonts\\ARIALN.TTF", 16)
statusText:SetShadowColor(0, 0, 0,...
Forum: Classic - AddOn Search/Requests 01-05-20, 01:12 PM
Replies: 38
Views: 1,558
Posted By Vrul
The last number for SetShadowColor is the alpha...

The last number for SetShadowColor is the alpha (transparency) and can be a value for 0 (invisible) to 1 (solid):

statusText:SetShadowColor(0, 0, 0, 1)
Forum: Classic - AddOn Search/Requests 01-05-20, 12:43 PM
Replies: 38
Views: 1,558
Posted By Vrul
For an outline...

For an outline change:

statusText:SetFont("Fonts\\ARIALN.TTF", 16)

to

statusText:SetFont("Fonts\\ARIALN.TTF", 16, "OUTLINE")

For shadow just add these lines after the SetFont and SetTextColor...
Forum: Classic - AddOn Search/Requests 01-05-20, 11:17 AM
Replies: 38
Views: 1,558
Posted By Vrul
Not tested but you can...

Not tested but you can try:

hooksecurefunc("CompactUnitFrame_UpdateStatusText", function(self)
local statusText = self.statusText
if statusText and statusText:IsShown() then
if...
Forum: Lua/XML Help 12-20-19, 11:38 AM
Replies: 10
Views: 924
Posted By Vrul
Think of Lua tables as maps that can also be...

Think of Lua tables as maps that can also be treated as arrays. The array behavior is only for the portion of the map that starts with the key of integer 1 and continues until a nil value is reached...
Forum: General Authoring Discussion 12-20-19, 10:37 AM
Replies: 2
Views: 570
Posted By Vrul
I originally wrote LibOptionsAssist...

I originally wrote LibOptionsAssist (https://www.wowinterface.com/downloads/info13921-LibOptionsAssist-1.1.html) to give me the ability to refresh my options. You can use it or look at the code to...
Forum: Macro Help 12-08-19, 09:50 AM
Replies: 1
Views: 561
Posted By Vrul
I don't have access to Classic but you could...

I don't have access to Classic but you could try:

/cancelform [noform:1]
/stopcasting
/cast [noform] Dire Bear Form
Showing results 1 to 25 of 337