after writing these I realized there are a lot more bars (party bars, focus bars etc), so I start wondering.. maybe you can hooksecurefunc some statusbar creation function to make this easier?
Anyone know?
Hi, does anyone know if its possible to create this frame (RaidPullout1) by using some function and calling it from your own addon instead of manually dragging the frame from the raid interface?
I Found the function RaidPullout_GeneratePulloutFrame but I can't figure out how to use it..
Hey all, how can i change the player/target portraits from rounded to square? can i set the alpha file to my own square version?
or do i have to create a new portrait?
Perhaps a better solution, if you just want to stop the sound from playing, would be to overwrite the default sound with a blank file in the appropriate location, and then include a copy of the default sound file in a small addon to detect logon messages for friends and play the sound.
Thank you this is a good suggestion. I was working on this but got stuck again :p now i can't seem to both filter out the name from the string and match the rest of the msg.
local msg = "[Joe] has come online."
local _,_, name = string.find(msg, "(%a)has come online")
if name then
-- do stuff here
end
so what i want is to match "has come online" and get the name out so i can compare it to my friendslist.. but pattern matching is a freaking nightmare! :(
Hi I use the Guild Member Alert option (Show a message when your guild members login and logout) but I would like to remove the sound it makes when a guildmember logs in.
Its the same sound you get when a friend log in and i'm in a large guild so its a bit annoying to get all the "friend login sound" all the time.
so I'm wondering where can I find this specific function that sends this sound and modify it?
how do i create a function that adds the level of the person talking next to their name in the chat?
my idea was to use SendWho() and then get the info from GetWhoInfo(1) but the problem is it takes a few seconds for SendWho() to return any info... then I read about WHO_LIST_UPDATE and that i should prob wait for it to fire before requesting GetWhoInfo
anyway, my question is how do you put this thing together without creating a long delay between requesting whoinfo and actually dispalying the (modified) message??
I tried looking at other chat addons but i just cant understand it :confused:
function addon:UNIT_AURA(...)
-- do stuff
end
addon.PLAYER_TARGET_CHANGED = addon.UNIT_AURA
addon.event2 = addon.UNIT_AURA
addon.event3 = addon.UNIT_AURA
All four events will be handled by the same code (UNIT_AURA).
hello again, what if you have more events than 1?
addon.UNIT_AURA = addon.PLAYER_TARGET_CHANGED
addon.UNIT_AURA = addon.event2
addon.UNIT_AURA = addon.event3
0
UnitFrameHealthBar_Update
UnitFrameHealthBar_OnValueChanged
if I hook a new function to change texture on these functions how much impact will it have on performance?
0
after writing these I realized there are a lot more bars (party bars, focus bars etc), so I start wondering.. maybe you can hooksecurefunc some statusbar creation function to make this easier?
Anyone know?
0
I Found the function RaidPullout_GeneratePulloutFrame but I can't figure out how to use it..
0
or do i have to create a new portrait?
0
0
Thank you this is a good suggestion. I was working on this but got stuck again :p now i can't seem to both filter out the name from the string and match the rest of the msg.
so what i want is to match "has come online" and get the name out so i can compare it to my friendslist.. but pattern matching is a freaking nightmare! :(
0
Its the same sound you get when a friend log in and i'm in a large guild so its a bit annoying to get all the "friend login sound" all the time.
so I'm wondering where can I find this specific function that sends this sound and modify it?
0
0
0
my idea was to use SendWho() and then get the info from GetWhoInfo(1) but the problem is it takes a few seconds for SendWho() to return any info... then I read about WHO_LIST_UPDATE and that i should prob wait for it to fire before requesting GetWhoInfo
anyway, my question is how do you put this thing together without creating a long delay between requesting whoinfo and actually dispalying the (modified) message??
I tried looking at other chat addons but i just cant understand it :confused:
0
Yes that's it :D thank you very much
0
this doenst work :( it tries to call function self:PLAYER_TARGET_CHANGED which result in some nil error :confused:
0
addon.UNIT_AURA = addon.PLAYER_TARGET_CHANGED
addon.UNIT_AURA = addon.event2
addon.UNIT_AURA = addon.event3
you can't do this?
0
0
local database = {
color = ("1, 0, 0, 1"),
}
myTexture:SetVertexColor(database.color)
?:confused: