Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 368
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: Lua/XML Help Yesterday, 10:08 AM
Replies: 2
Views: 120
Posted By Vrul
It worked fine for me using...

It worked fine for me using "INV_MISC_QUESTIONMARK" for the icon but not if I used it's number 134400.
Forum: Lua/XML Help 11-30-20, 08:28 AM
Replies: 6
Views: 260
Posted By Vrul
It is best to look at Blizzard's code ...

It is best to look at Blizzard's code (https://wow.gamepedia.com/Viewing_Blizzard%27s_interface_code)to see what is going on. In this case you have this running OnUpdate:

function...
Forum: Lua/XML Help 11-14-20, 07:27 AM
Replies: 2
Views: 1,130
Posted By Vrul
local runes = RuneFrame.Runes for index = 1,...

local runes = RuneFrame.Runes
for index = 1, #runes do
runes[index]:EnableMouse(false)
end
Forum: AddOn Help/Support 10-29-20, 03:35 PM
Replies: 6
Views: 1,778
Posted By Vrul
If you value efficiency over elegance then you...

If you value efficiency over elegance then you want a slightly modified version of what jeruku posted:

function are3EnemiesInRange()
local inRange, nameplates = 0, C_NamePlate.GetNamePlates()
...
Forum: AddOn Help/Support 10-29-20, 10:58 AM
Replies: 6
Views: 1,778
Posted By Vrul
UnitCanAttack should be used insteadof...

UnitCanAttack should be used insteadof UnitIsEnemy and UnitAffectingCombat since Whirlwind will hit a unit whether it is in combat or not. UnitExists is implied if any Unit function returns true so...
Forum: Lua/XML Help 10-27-20, 06:22 AM
Replies: 3
Views: 1,603
Posted By Vrul
There is only one function declaration for...

There is only one function declaration for AutoComplete_Update and that is in AutoComplete_Update.lua. All other mentions of AutoComplete_Update are just calling the function from...
Forum: Macro Help 10-23-20, 10:28 AM
Replies: 5
Views: 1,945
Posted By Vrul
As JDoubleU00 said you can use this in a...

As JDoubleU00 said you can use this in a macro:

/targetenemyplayer [@arena1, exists]
/targetenemy [@arena1, noexists]


If you don't want to waste a macro slot, you could make a small addon...
Forum: AddOn Search/Requests 10-22-20, 12:59 PM
Replies: 3
Views: 2,021
Posted By Vrul
local fontStrings =...

local fontStrings =...
Forum: AddOn Help/Support 10-17-20, 04:51 PM
Replies: 7
Views: 1,688
Posted By Vrul
You have to wait until after the VARIABLES_LOADED...

You have to wait until after the VARIABLES_LOADED event fires or your changes will just get reverted back when the cvar settings are loaded.
Forum: AddOn Help/Support 10-14-20, 04:40 PM
Replies: 5
Views: 1,289
Posted By Vrul
I uploaded a new version of DockingStation about...

I uploaded a new version of DockingStation about 20 minutes ago.
Forum: Lua/XML Help 09-28-20, 05:06 PM
Replies: 10
Views: 4,255
Posted By Vrul
You could just hook the AddMessage...

You could just hook the AddMessage method:

hooksecurefunc(DEFAULT_CHAT_FRAME, "AddMessage", function(self, message, ...)
-- Do something with message
end)

Just remember if you want to output...
Forum: Lua/XML Help 09-28-20, 11:23 AM
Replies: 4
Views: 2,292
Posted By Vrul
You can only disable the entire control when...

You can only disable the entire control when using an options table.

message = {
name = Barker.L['LABEL_MESSAGE'],
desc = Barker.L['DESC_MESSAGE'],
type = 'input',
order = 2,
...
Forum: General Authoring Discussion 09-27-20, 06:16 AM
Replies: 7
Views: 3,350
Posted By Vrul
It depends on how you implemented it. Post your...

It depends on how you implemented it. Post your code.
Forum: General Authoring Discussion 09-25-20, 02:57 PM
Replies: 8
Views: 3,621
Posted By Vrul
If the GameTooltip is showing for an item then...

If the GameTooltip is showing for an item then the mouse is still over that item so you can use GetMouseFocus:

local focus = GetMouseFocus()
if not (focus:GetName() or...
Forum: Lua/XML Help 09-24-20, 06:40 AM
Replies: 10
Views: 4,255
Posted By Vrul
This is what I found (may be...

This is what I found (may be...
Forum: Site help, bugs, suggestions/questions 08-02-20, 04:15 PM
Replies: 25
Views: 9,414
Posted By Vrul
I would like to have the following addons deleted...

I would like to have the following addons deleted if possible:
Compass (https://www.wowinterface.com/downloads/info24672-Compass.html) (BoA Beta)
CompassHUD...
Forum: Lua/XML Help 05-21-20, 06:32 AM
Replies: 1
Views: 910
Posted By Vrul
You need a header that is like a middle man for...

You need a header that is like a middle man for everything:

local header = CreateFrame("Frame", nil, nil, "SecureHandlerStateTemplate")

MyTestXD = CreateFrame("Button", "MyTestXD", nil,...
Forum: Lua/XML Help 05-01-20, 01:49 PM
Replies: 3
Views: 744
Posted By Vrul
Those are FontStrings, try: for index = 1, 12...

Those are FontStrings, try:

for index = 1, 12 do
local spellButtonName = "SpellButton" .. index
print(spellButtonName)
print(_G[spellButtonName].SpellName:GetText())
...
Forum: Lua/XML Help 05-01-20, 01:12 PM
Replies: 6
Views: 801
Posted By Vrul
It is definitely an issue with Blizzard's code. ...

It is definitely an issue with Blizzard's code. I don't think they planned on subcategories of subcategories. If you add all secondary entries first then add the tertiary entries they will be in...
Forum: Lua/XML Help 05-01-20, 05:48 AM
Replies: 6
Views: 801
Posted By Vrul
The number one rule in asking for help is to post...

The number one rule in asking for help is to post your code. It is hard to help with out seeing the code in question.

The current code for Minguas Suite has this:

function...
Forum: Lua/XML Help 04-25-20, 08:14 PM
Replies: 3
Views: 971
Posted By Vrul
Open to one of the subcategories...

Open to one of the subcategories first:

InterfaceOptionsFrame_OpenToCategory("Minguas Suite - Subcategory")
InterfaceOptionsFrame_OpenToCategory("Minguas Suite")

Obviously the first line will need...
Forum: Lua/XML Help 04-21-20, 11:02 PM
Replies: 13
Views: 1,680
Posted By Vrul
I believe the returns would best be described...

I believe the returns would best be described as:
money = How much copper the item can be returned for
itemCount = The number of different items (tokens or such) the item can be returned...
Forum: Lua/XML Help 04-21-20, 02:16 PM
Replies: 13
Views: 1,680
Posted By Vrul
Weird. Just to test I bought a 7th Legionnaire's...

Weird. Just to test I bought a 7th Legionnaire's Cloak. It didn't matter if I was at the vendor or flew away from town. The function returned: 8800000, 0, 7163, 0, false (obviously the 3rd return...
Forum: Lua/XML Help 04-20-20, 07:53 AM
Replies: 13
Views: 1,680
Posted By Vrul
I don't think an itemLink has refund information...

I don't think an itemLink has refund information embedded in it. You will need to use an inventory function with bag, slot arguments to identify an exact item. My best guess is the 3rd return of...
Forum: Lua/XML Help 04-06-20, 04:32 PM
Replies: 11
Views: 2,044
Posted By Vrul
Think of your file as one large function. The...

Think of your file as one large function. The do...end block creates a new scope. That allows everything in that scope to see everything before it and globals but nothing outside of it can see or...
Showing results 1 to 25 of 368