Forum: Lua/XML Help
05-09-22, 01:03 PM
|
Replies: 5
Views: 936
|
Forum: Lua/XML Help
05-03-22, 05:18 PM
|
Replies: 2
Views: 354
|
Forum: Lua/XML Help
04-27-22, 08:56 PM
|
Replies: 5
Views: 533
|
Forum: AddOn Help/Support
04-27-22, 08:46 PM
|
Replies: 3
Views: 247
|
Forum: Lua/XML Help
04-23-22, 11:27 AM
|
Replies: 6
Views: 534
xpcall() specifically lets you set a specific...
xpcall() specifically lets you set a specific error handler to run if it encounters an error. Even though the Lua documentation doesn't show this, it also allows you to pass arguments to the function...
|
Forum: Lua/XML Help
04-22-22, 10:11 AM
|
Replies: 6
Views: 534
|
Forum: Lua/XML Help
04-21-22, 02:07 PM
|
Replies: 6
Views: 534
|
Forum: AddOn Help/Support
04-21-22, 01:47 PM
|
Replies: 1
Views: 518
Short explanation, no. Running a macro is a...
Short explanation, no. Running a macro is a protected action and can't be done from addons.
Longer explanation, depending on what task you want Player2 to do, you may not need to run a macro to do...
|
Forum: Lua/XML Help
04-21-22, 01:38 PM
|
Replies: 5
Views: 936
|
Forum: Lua/XML Help
04-17-22, 01:11 AM
|
Replies: 5
Views: 936
A quick and easy way is to copy/paste the code...
A quick and easy way is to copy/paste the code into addon.bool.no (https://addon.bool.no/). You may have to open the .toc file in something like Notepad after you extract everything and make sure the...
|
Forum: General Authoring Discussion
04-06-22, 09:51 AM
|
Replies: 5
Views: 958
It's good practice to make local functions...
It's good practice to make local functions instead of global ones whenever you can. It'll help you avoid name collisions like these in the global table.
As with any local variable, you need to...
|
Forum: Lua/XML Help
04-04-22, 05:57 AM
|
Replies: 2
Views: 384
|
Forum: General WoW Chat
04-01-22, 01:09 PM
|
Replies: 6
Views: 992
|
Forum: General Authoring Discussion
04-01-22, 01:01 PM
|
Replies: 3
Views: 731
|
Forum: Macro Help
04-01-22, 12:44 PM
|
Replies: 1
Views: 347
You need a valid UnitID...
You need a valid UnitID (https://wowpedia.fandom.com/wiki/UnitId) to check anything. Even then, targeting is a protected action, especially in combat when half the entire UI is locked down.
|
Forum: Lua/XML Help
04-01-22, 12:36 PM
|
Replies: 4
Views: 548
|
Forum: Lua/XML Help
03-28-22, 12:17 AM
|
Replies: 4
Views: 548
I honestly prefer using verbose messages over...
I honestly prefer using verbose messages over inserting random nils in where I expect a list. Even if said list is empty. Perhaps if you kept track if the loop has printed anything and at the end,...
|
Forum: AddOn Search/Requests
03-25-22, 06:39 PM
|
Replies: 5
Views: 488
I'd have to completely rewrite it to avoid it...
I'd have to completely rewrite it to avoid it from blasting you with constant queuing of the sound while below the set percentage. And by constant queuing, it'll overlap the sound on top of itself...
|
Forum: AddOn Search/Requests
03-24-22, 08:34 AM
|
Replies: 5
Views: 488
Here's a simple example of what I've come up...
Here's a simple example of what I've come up with. It'll pop up with big text in the center of your screen whenever your healer's mana goes below 25%.
Copy/Paste this into addon.bool.no...
|
Forum: AddOn Search/Requests
03-24-22, 03:40 AM
|
Replies: 9
Views: 709
That only controls the sound playing, not the...
That only controls the sound playing, not the recording. The idea is for PLAYER_LOGIN to start the initial scan, populating TrackedFactions. Further updates compare previous values added and act...
|
Forum: AddOn Search/Requests
03-24-22, 03:35 AM
|
Replies: 5
Views: 488
Is this for retail or classic? For retail, it...
Is this for retail or classic? For retail, it wouldn't be hard to detect the assigned role for party members and work off that. Classic unfortunately doesn't have that functionality and the best way...
|
Forum: AddOn Search/Requests
03-17-22, 06:15 AM
|
Replies: 9
Views: 709
|
Forum: AddOn Search/Requests
03-17-22, 02:46 AM
|
Replies: 9
Views: 709
|
Forum: General Authoring Discussion
03-16-22, 02:08 AM
|
Replies: 2
Views: 392
|
Forum: AddOn Search/Requests
03-07-22, 02:07 AM
|
Replies: 2
Views: 568
The section is part of the MainMenuBar's...
The section is part of the MainMenuBar's background. The short one in your picture is specifically MainMenuBarArtFrameBackground.BackgroundSmall. You'd have to adjust its TexCoord to trim the right...
|