Forum: Lua/XML Help
07-17-21, 01:12 PM
|
Replies: 1
Views: 1,099
thats pretty straight forward.
local frame =...
thats pretty straight forward.
local frame = CreateFrame("frame")
frame:RegisterEvent("PLAYER_LOGIN")
local function doStuff()
-- do whatever you want
end
frame:SetScript("OnEvent", function()...
|
Forum: Lua/XML Help
08-16-19, 03:47 PM
|
Replies: 5
Views: 2,100
|
Forum: Lua/XML Help
08-16-19, 12:30 PM
|
Replies: 9
Views: 2,098
|
Forum: Lua/XML Help
08-15-19, 02:47 PM
|
Replies: 9
Views: 2,098
|
Forum: Lua/XML Help
08-15-19, 02:21 PM
|
Replies: 9
Views: 2,098
|
Forum: Lua/XML Help
08-15-19, 01:43 PM
|
Replies: 9
Views: 2,098
|
Forum: Lua/XML Help
08-15-19, 12:47 PM
|
Replies: 9
Views: 2,098
You could fix this by using a boolean variable...
You could fix this by using a boolean variable for show/hide. set the value to true OnEnter and to false OnLeave. In your function in which you set the alpha value you check this variable and only...
|
Forum: Lua/XML Help
07-30-19, 01:48 PM
|
Replies: 2
Views: 2,009
i feel like this should definitely work....
i feel like this should definitely work.
self.frame:SetScript("OnEvent", function()
print("original function");
end);
self:HookScript(self.frame, "OnEvent", function()
print("hooked...
|
Forum: Lua/XML Help
10-14-17, 09:03 AM
|
Replies: 13
Views: 2,081
|
Forum: AddOn Help/Support
09-09-17, 02:20 PM
|
Replies: 6
Views: 2,026
|
Forum: AddOn Help/Support
09-09-17, 01:49 PM
|
Replies: 6
Views: 2,026
Thanks, this really helped a lot, it now works...
Thanks, this really helped a lot, it now works without any lag. So i will change my code to only anchor one Point and set the width for each individual button. And i thought this way of positioning...
|
Forum: AddOn Help/Support
09-09-17, 12:20 PM
|
Replies: 6
Views: 2,026
|
Forum: AddOn Help/Support
09-09-17, 11:38 AM
|
Replies: 6
Views: 2,026
Chain Positioning of buttons
Hi,
I did some tests today with my Addon https://mods.curse.com/addons/wow/274066-battlegroundenemies
I wanted to test how it would look like with 30 or 40 players in a row. I noticed that it gets...
|
Forum: Lua/XML Help
08-07-17, 11:34 AM
|
Replies: 16
Views: 3,684
i am not sure if there is an event but...
i am not sure if there is an event but /eventtrace https://wow.gamepedia.com/Eventtrace tells you whenever a event fires
i just tested it and PLAYER_TALENT_UPDATE, PLAYER_PVP_TALENT_UPDATE and...
|
Forum: Lua/XML Help
08-07-17, 07:01 AM
|
Replies: 40
Views: 8,623
|
Forum: Lua/XML Help
08-05-17, 04:00 PM
|
Replies: 13
Views: 6,706
|
Forum: Lua/XML Help
08-05-17, 02:47 PM
|
Replies: 13
Views: 6,706
|
Forum: Lua/XML Help
08-05-17, 09:43 AM
|
Replies: 13
Views: 6,706
|
Forum: Lua/XML Help
08-05-17, 09:02 AM
|
Replies: 13
Views: 6,706
use event NAME_PLATE_UNIT_ADDED, argument is a...
use event NAME_PLATE_UNIT_ADDED, argument is a unitID, check the mobs's name with UnitName(unitID) then you can get the nameplate with C_NamePlate.GetNamePlateForUnit(unitID). i guess you will also...
|
Forum: Lua/XML Help
07-25-17, 02:13 PM
|
Replies: 8
Views: 4,803
|
Forum: Lua/XML Help
07-25-17, 12:58 PM
|
Replies: 8
Views: 4,803
i never used the function...
i never used the function UIDropDownMenu_Initialize (which is an global function of WoW's Api), but you are basically overwriting this global function (not really overwriting globally but for this...
|
Forum: Lua/XML Help
06-21-17, 01:55 AM
|
Replies: 3
Views: 1,812
My bad didn't check that. Then this should do...
My bad didn't check that. Then this should do it:
local Blinding_Peck = GetSpellInfo(195561)
local Group_UnitIDs = {
player = true,
party1 = true,
party2 = true,
party3 = true,
party4 = true
}
|
Forum: Lua/XML Help
06-20-17, 01:10 PM
|
Replies: 3
Views: 1,812
|
Forum: Lua/XML Help
06-14-17, 02:45 PM
|
Replies: 2
Views: 2,141
GetSpellTexture() in 7.2.5
Hi, i noticed that Blizzard added a new return value to the function GetSpellTexture. In Blizzard_ArenaUI.lua it says: local spellTexture, spellTextureNoOverride = GetSpellTexture(spellID)
Does...
|
Forum: RealUI
06-14-17, 10:28 AM
|
Replies: 1
Views: 1,285
|