PDA

View Full Version : Two questions: SCT hooking and memory usage


Vilkku
10-06-2007, 01:34 PM
My first question is about hooking your own messages into the SCT frames. No, I don't want to use the sct_event_config file, as I am doing it from an addon. I know how to make it display in the Message frame and also to display it as ONHIT etc, but I am missing options to make it the way I want it (like I'd get if I used the event config file). I found some functions in sct.lua that look promising, but I can't figure out how to properly use them, as they seem to have a lot of options.
For reference, I'd want it a specific color and also to act like a crit (iscrit in event config). This means (afaik) that I would need to display it in the SCT 1 frame.

My second question might be better suited for the simple UI Customisations forum, but I'll just include it in this thread: With 2.1 we got functions to get an AddOns memory usage, and the default "Blizzbars" show the top3 memory users by hovering over the latency bar. 3rd party bars seem to lack this feature however. Is there a mod out there that simply displays the memory usage for each mod?