Quantcast WoWInterface - Search Results
Showing results 1 to 20 of 20
Search took 0.00 seconds.
Search: Posts Made By: Urtgard
Forum: AddOn Help/Support 05-05-20, 12:51 AM
Replies: 14
Views: 1,237
Posted By Urtgard
Is this all of your code? The loop will only run...

Is this all of your code? The loop will only run once on login/reload.

You could take a look at the events when you apply or update a buff.
Then check when the buff expires and use C_Timer to show...
Forum: AddOn Help/Support 04-29-20, 06:56 AM
Replies: 3
Views: 598
Posted By Urtgard
Enable Lua errors:/console scriptErrors 1 The...

Enable Lua errors:/console scriptErrors 1

The second " indicates the end of macrotext.
Therfore in example 2 your macrotext is cut off.

If you want to use special characters inside a string you...
Forum: Classic - AddOn Help/Support 04-18-20, 03:08 PM
Replies: 3
Views: 850
Posted By Urtgard
For timers there is C_Timer: ...

For timers there is C_Timer: https://wow.gamepedia.com/API_C_Timer

But in this case you should look into events like LudiusMaximus mentioned it.
Forum: AddOn Search/Requests 01-16-20, 04:02 PM
Replies: 2
Views: 1,716
Posted By Urtgard
How does World Quests Lists helps you with that?...

How does World Quests Lists helps you with that? Can you post a screenshot?

You know that you can do these quests while mounted?
Forum: Classic - AddOn Help/Support 12-05-19, 01:01 PM
Replies: 3
Views: 506
Posted By Urtgard
The error message says: string expected, got...

The error message says: string expected, got table. Name should be a string but somehow it's a table.
Why is that? C_FriendList.GetFriendInfo(Name) returns a table with a bunch of info:...
Forum: AddOn Help/Support 11-24-19, 08:30 AM
Replies: 10
Views: 1,451
Posted By Urtgard
If you use Kanegasis example, the trigger...

If you use Kanegasis example, the trigger function itself never returns true and your aura will never show up.

You could do this whit custom event.

Custom Trigger - Events: BOSS_KILL,...
Forum: Lua/XML Help 10-16-19, 06:10 AM
Replies: 3
Views: 900
Posted By Urtgard
You need an event handler and you must tell the...

You need an event handler and you must tell the frame to use this handler.


local frame = CreateFrame("FRAME", "FooAddonFrame");
frame:RegisterEvent("PLAYER_ENTERING_WORLD");
local function...
Forum: Lua/XML Help 10-16-19, 03:49 AM
Replies: 11
Views: 1,034
Posted By Urtgard
break stops the loop. You stop the loop if id ~=...

break stops the loop.

You stop the loop if id ~= factionID but you want to stop it when you found the correct id.

if id == factionID then
--do stuff with id
break
end
Forum: AddOn Search/Requests 10-16-19, 03:30 AM
Replies: 1
Views: 850
Posted By Urtgard
Add IPopBarFrame:SetFrameLevel(1) in line 94.

Add IPopBarFrame:SetFrameLevel(1) in line 94.
Forum: General Authoring Discussion 10-16-19, 02:00 AM
Replies: 2
Views: 749
Posted By Urtgard
Line 119: Your addon is called...

Line 119: Your addon is called "DevilsHuntersClassic" and not "DevilsHunters"

And all the functions and variables you use should be locals.
Forum: Lua/XML Help 09-17-19, 02:30 AM
Replies: 4
Views: 1,026
Posted By Urtgard
If you just want to know approximately how far...

If you just want to know approximately how far away your pet is, you can use IsItemInRange and IsSpellInRange.

That's how LibRangeCheck-2.0 works.
Forum: Lua/XML Help 08-29-19, 11:21 AM
Replies: 7
Views: 916
Posted By Urtgard
I've had the same problem with Big Wigs icons in...

I've had the same problem with Big Wigs icons in the chat.

That's why I not only change the alpha value (for smooth fades) but also completly hide the frames.

If you do it that way you'll need a...
Forum: Lua/XML Help 08-27-19, 10:47 AM
Replies: 7
Views: 916
Posted By Urtgard
I use GetMouseFocus() to determine whether the...

I use GetMouseFocus() to determine whether the mouse is still hovering above the chat.

First I check for names or links. If you hover over one of those f.messageInfo exists.

Next I check if the...
Forum: Lua/XML Help 08-27-19, 02:45 AM
Replies: 7
Views: 916
Posted By Urtgard
A few years ago I made a similiar addon:...

A few years ago I made a similiar addon: https://github.com/Urtgard/Hide-Chat-In-Combat/blob/master/HCIC.lua

Probably not the best solution but maybe it helps.
Forum: RealUI 06-25-19, 10:41 PM
Replies: 2
Views: 1,060
Posted By Urtgard
I think what you mean are the nameplates. The...

I think what you mean are the nameplates.

The default keybind to toggle them is V. With Shift + V and Strg + V you can toggle nameplates for friendly units and all units.
Forum: AddOn Search/Requests 04-17-19, 09:19 AM
Replies: 10
Views: 843
Posted By Urtgard
This looks similar:...

This looks similar: https://www.wowinterface.com/downloads/info21119
Forum: Lua/XML Help 10-26-18, 05:31 AM
Replies: 16
Views: 1,086
Posted By Urtgard
If you just replace TabPartyIndex with i you...

If you just replace TabPartyIndex with i you would always target the same player.

For the increasing loop:
i is always 1, 2, 3, 4 and then 5.
We always want the next possible partymember as a...
Forum: Lua/XML Help 10-25-18, 10:23 PM
Replies: 16
Views: 1,086
Posted By Urtgard
local f =...

local f = CreateFrame("Button","TabParty2",nil,"SecureActionButtonTemplate")
f:SetAttribute("type","target")
SecureHandlerWrapScript(f,"OnClick",f,[[
local unit
for i=1,5,1 do
TabPartyIndex =...
Forum: Dev Tools 06-26-18, 01:37 PM
Replies: 9
Views: 3,228
Posted By Urtgard
Your videos are expired.

Your videos are expired.
Forum: Dev Tools 02-22-18, 11:17 AM
Replies: 12
Views: 10,327
Posted By Urtgard
Is this still a thing? I hereby authorize WoWI...

Is this still a thing?

I hereby authorize WoWI to automatically pull the latest version of the following addons from...
Showing results 1 to 20 of 20