PDA

View Full Version : Frame Info


adoren
01-04-2008, 10:29 PM
So I'm trying to make a simple development tool, which when the mouse enters a frame, it displays the name of the frame which the mouse is on.

I've set up my mod's little frame to display the name, but I can't find the script which activates when the mouse enters a frame. I've tried <OnEnter> but that only seems to activate when the mouse moves over my mod's frame. When I have that script I believe I can use GetMouseFocus():GetName() to return its name. Any help would be greatly appreciated. If there is a mod out there that does something like this a link to it would also be great.

Thanks

ChaosInc
02-04-2008, 06:48 AM
DFM has a feature to capture frames. So does MoveAnything! You're probably better off going with MA! since DFM is a bit complicated to sort through.

Jumpy
02-04-2008, 09:24 AM
The OnEnter script only pertains to the frame in which it is defined.

adoren
02-04-2008, 05:23 PM
I'll try MA, thanks.

Edit: Ok, I figured it out. It just uses an OnUpdate method, no scripts.