Forum: Lua/XML Help
06-11-21, 07:51 AM
|
Replies: 2
Views: 1,256
|
Forum: Lua/XML Help
06-10-21, 07:16 AM
|
Replies: 2
Views: 1,256
GetSpellCooldown sometimes returning weird values
Sometimes GetSpellCooldown works exactly like i'd expect. Other times it seems to return strange values.
I was making a basic script to just print out my cooldowns for my tailoring cloths.
Here was...
|
Forum: Lua/XML Help
05-19-21, 05:38 AM
|
Replies: 3
Views: 989
|
Forum: Lua/XML Help
05-18-21, 08:14 AM
|
Replies: 3
Views: 989
|
Forum: Lua/XML Help
05-18-21, 02:36 AM
|
Replies: 0
Views: 629
[TBC Beta] Expand Interface Category
Found solution after posting. Needed to assign the hidden variable for the subpanels before calling InterfaceAddOnsList_Update.
I used to be able to do this on an older version of the game, but i'm...
|
Forum: Lua/XML Help
05-14-21, 08:19 AM
|
Replies: 2
Views: 841
|
Forum: Lua/XML Help
05-14-21, 06:53 AM
|
Replies: 2
Views: 841
Issue with CHAT_MSG_ADDON
On the TBC beta, it seems like sending addon messages isn't working properly.
I might be just doing something wrong.
When I am sending the addon chat msg, I am triggering my event. When my party...
|
Forum: Lua/XML Help
04-23-21, 06:53 PM
|
Replies: 0
Views: 1,304
[TBC Beta] - Detect when PVP trinket is used.
Is there any way to detect when a PVP trinket is used?
I was checking for combat log event unfiltered, but there are no events from what I can tell being triggered from the trinket being used.
Are...
|
Forum: Lua/XML Help
03-27-21, 01:55 AM
|
Replies: 1
Views: 997
Getting correct frame ui position.
Edit: Found the solution right after I posted. https://wowwiki-archive.fandom.com/wiki/API_GetCursorPosition
I needed to divide the cursor coordinates by UIParent:GetEffectiveScale(). Sorry about...
|
Forum: Lua/XML Help
03-26-21, 11:35 AM
|
Replies: 2
Views: 1,020
|
Forum: Lua/XML Help
03-26-21, 09:25 AM
|
Replies: 2
Views: 1,020
[Classic] Create & show tooltip
I'm working on my own unit frames.
I want to show a tooltip for the buff at index 1 when I mouse over my frame. I am not seeing anything, however.
Wrote up a simple example to see what i'm...
|
Forum: Lua/XML Help
12-01-20, 10:38 AM
|
Replies: 2
Views: 2,609
|
Forum: Lua/XML Help
12-01-20, 05:14 AM
|
Replies: 2
Views: 2,609
CreateMacro default icon
Is there any way to call CreateMacro and have the icon default to what is occurring like when you manually make a macro?
For example,
if I manually make a macro with
#showtooltip
/cast [mod:shift]...
|
Forum: Macro Help
11-23-20, 06:29 AM
|
Replies: 1
Views: 3,076
Shift into cat form, prowl, rake
For some reason i'm unable to make a spammable macro to do the following...
Shift into cat(if not in cat)
Cast prowl (if in cat and out of combat)
Cast rake(if in stealth)
I tried this...
/cast...
|
Forum: Lua/XML Help
05-02-20, 06:25 PM
|
Replies: 5
Views: 1,747
|
Forum: Lua/XML Help
05-02-20, 05:52 PM
|
Replies: 5
Views: 1,747
|
Forum: Lua/XML Help
05-02-20, 05:32 PM
|
Replies: 5
Views: 1,747
Cooldown frame not seeing cooldown animation?
This is my code i'm using to create a frame with a texture/cooldown frame attached.
local f = CreateFrame("FRAME")
f:SetWidth(32)
f:SetHeight(32)
f:SetPoint("CENTER")
local cdFrame =...
|
Forum: Lua/XML Help
05-01-20, 01:17 PM
|
Replies: 6
Views: 1,622
|
Forum: Lua/XML Help
05-01-20, 10:03 AM
|
Replies: 6
Views: 1,622
Sorry, I didn't post the code just because it...
Sorry, I didn't post the code just because it would've been a lot of code for someone to look at for the example in the video. The code has been changed a bit since the version that was uploaded to...
|
Forum: Lua/XML Help
05-01-20, 01:47 AM
|
Replies: 6
Views: 1,622
|
Forum: Lua/XML Help
04-30-20, 01:14 AM
|
Replies: 1
Views: 1,392
Determine pet owner from combat log event?
When you receive a combat log event from an action caused by a pet, how can you determine who the owner of that pet is?
Better yet, is there any way I can determine the owner's guid from a combat...
|
Forum: Lua/XML Help
04-25-20, 02:07 PM
|
Replies: 3
Views: 1,899
Automatically expand interface options?
I have it when I type in a slash command, that it pulls up the interface options for the main panel with
InterfaceOptionsFrame_OpenToCategory("Minguas Suite")
I have subcategories within this panel...
|
Forum: Lua/XML Help
03-08-20, 12:40 PM
|
Replies: 0
Views: 1,172
Unit Attack Speed and nameplates
Edit: I found a rigged up solution. What i'm doing for my solution is storing the attacker's attack speed in a table if I can find their nameplate based on the unit name and then referencing that...
|
Forum: Lua/XML Help
03-07-20, 08:55 PM
|
Replies: 3
Views: 1,147
How to find all texture paths?
Is there a way to determine all available texture paths? For example...
Most the code I see for status bars is assigning the texture to "Interface\\TARGETINGFRAME\\UI-StatusBar". How was this...
|
Forum: Lua/XML Help
03-06-20, 11:41 AM
|
Replies: 0
Views: 896
Get item armor/damage/speed info
Note: This is on classic.
I know you can get an item's link/stats as follows
link = GetInventoryItemLink("player",1)
stats = GetItemStats(link)
for k, v in pairs(stats) do
print(k .. "-" .....
|