View Single Post
08-03-06, 06:53 AM   #4
arovane
A Kobold Labourer
Join Date: Aug 2006
Posts: 1
I may have your answer Fritty

Originally Posted by Fritty
I posted some errors I was having on your portal...
I ran into a problem when I loaded up ManHunt on my setup, I got the OnLoad() fine but nothing happened when I clicked.

When I looked at the code something popped out.

Code:
function POMH:ExtractNamesIfProbablyMinimapTooltip(withColorsStripped)
	if (MouseIsOver(MinimapCluster) and GetMouseFocus():GetName() == 'Minimap
I detached my minimap from the cluster and hid the rest of it.. So even though I could
see the dots on my minimap, and the map itself, I wasn't getting any reaction to clicks.

I changed it to..


Code:
function POMH:ExtractNamesIfProbablyMinimapTooltip(withColorsStripped)
	if (MouseIsOver(Minimap) and GetMouseFocus():GetName() == 'Minimap
And it started working.

I would suspect your problem is an event inheritence issue and will be fixed by this change. By default it'll pick up a click on anything inside the MinimapCluster, so if you click a pixel outside the mailbox icon or something MinimapCluster picks it up?

Just a guess.
  Reply With Quote