Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 330
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: Lua/XML Help 02-11-20, 07:20 PM
Replies: 9
Views: 315
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: 315
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: 770
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: 332
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,376
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,376
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,376
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,376
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,376
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,376
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,376
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,376
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,376
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,376
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,376
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: 794
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: 497
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: 509
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
Forum: General Authoring Discussion 10-16-19, 06:01 PM
Replies: 2
Views: 454
Posted By Vrul
Based on Blizzard's code...

Based on Blizzard's code (https://wow.gamepedia.com/Viewing_Blizzard%27s_interface_code) you can add the return of FauxScrollFrame_GetOffset(BrowseScrollFrame) to your ahIndex to get the value you...
Forum: Lua/XML Help 10-14-19, 10:40 PM
Replies: 11
Views: 778
Posted By Vrul
See what you get with: function...

See what you get with:

function RepByZone:SetWatchedFactionByFactionID(id)
if type(id) == "table" then id = tonumber(id) end
if type(id) ~= "number" then return end

...
Forum: Lua/XML Help 10-14-19, 10:36 PM
Replies: 11
Views: 778
Posted By Vrul
No, that just means the condition "id ==...

No, that just means the condition "id == factionID" is not being met.
Forum: Lua/XML Help 10-14-19, 09:47 PM
Replies: 11
Views: 778
Posted By Vrul
It seems like the line: local name, _,...

It seems like the line:

local name, _, standingID, _, _, _, _, _, isHeader, _, _, isWatched, _, factionID = GetFactionInfoByID(id)

should be:

local name, _, standingID, _, _, _, _, _, isHeader, _,...
Forum: AddOn Help/Support 10-04-19, 06:24 AM
Replies: 3
Views: 702
Posted By Vrul
Invert mouse is saved in...

Invert mouse is saved in WTF\Account\<AccountName>\config-cache.wtf as mouseInvertPitch

Mouse speed is saved in WTF\Config.wtf as mouseSpeed

As myrroddin said, they may not show up if they are the...
Forum: Lua/XML Help 09-17-19, 08:46 PM
Replies: 5
Views: 810
Posted By Vrul
The magic keys replace requested keys that don't...

The magic keys replace requested keys that don't already exist based on the "*" and "**" entries in your defaults table. You cannot directly access the "**" sub-table in the defaults table via a...
Forum: Classic - AddOn Help/Support 09-16-19, 05:17 PM
Replies: 6
Views: 722
Posted By Vrul
If you just want to quickly display some info you...

If you just want to quickly display some info you could use:

message("Hello World")


or you could remove creating a separate frame and just create a FontString from UIParent:

local text =...
Showing results 1 to 25 of 330