Forum: Lua/XML Help
03-27-21, 01:55 AM
|
Replies: 1
Views: 158
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: 108
|
Forum: Lua/XML Help
03-26-21, 09:25 AM
|
Replies: 2
Views: 108
[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: 1,819
|
Forum: Lua/XML Help
12-01-20, 05:14 AM
|
Replies: 2
Views: 1,819
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: 1,308
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: 976
|
Forum: Lua/XML Help
05-02-20, 05:52 PM
|
Replies: 5
Views: 976
|
Forum: Lua/XML Help
05-02-20, 05:32 PM
|
Replies: 5
Views: 976
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,011
|
Forum: Lua/XML Help
05-01-20, 10:03 AM
|
Replies: 6
Views: 1,011
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,011
|
Forum: Lua/XML Help
04-30-20, 01:14 AM
|
Replies: 1
Views: 967
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,318
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: 672
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: 813
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: 551
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 .. "-" .....
|
Forum: Lua/XML Help
02-18-20, 06:14 AM
|
Replies: 1
Views: 625
Detect when blizzard chill effect is applied
I am trying to detect on my player when the chill effect from blizzard is applied to me.
This is the lua i'm using to try to detect when the debuff is applied.
local function...
|
Forum: Lua/XML Help
02-13-20, 06:28 AM
|
Replies: 9
Views: 1,269
I'm practicing maraudon 1 pulls and I wanted...
I'm practicing maraudon 1 pulls and I wanted access to a high resolution map so I could mark where all of the packs are to help myself learn the best way for me to perform the pull.
Thanks so much...
|
Forum: Lua/XML Help
02-12-20, 11:38 AM
|
Replies: 9
Views: 1,269
|
Forum: Lua/XML Help
02-12-20, 03:19 AM
|
Replies: 9
Views: 1,269
|
Forum: Lua/XML Help
02-11-20, 07:36 AM
|
Replies: 9
Views: 1,269
Hide minimap player arrow
I'm trying to go through and take screenshots to make a high quality map of a dungeon. I am having issues hiding the player arrow as seen in this image.
https://i.imgur.com/Xl5iiTy.png
Anyone know a...
|
Forum: Lua/XML Help
09-15-19, 02:42 PM
|
Replies: 4
Views: 1,333
|
Forum: General Authoring Discussion
09-15-19, 01:15 AM
|
Replies: 2
Views: 2,374
|
Forum: Lua/XML Help
09-15-19, 12:43 AM
|
Replies: 4
Views: 1,333
Any way to get pet position?
Is there any way to get the pet position x/y/z?
I noticed UnitPosition does not work for pets.
I'd like to retrieve this to calculate distance from myself to get an idea of when it will despawn...
|