Hotspots only works when I click in certain areas

Started by MRollins, Wed 05/03/2008 23:04:51

Previous topic - Next topic

MRollins

I have created several hotspots but they only respond when I click on certain parts of them. Once hotspot only responds when I click on the right half and another only responds when I click in the extreme upper left corner. I am using function hNewGame_AnyClick() for the one that only respondes to the upper left corner and I am using function hHotspot1_Interact() for the one that only responds to clicks on the right side.

Does anyone know why hotspots wouldn't respond when clicked on anywhere?

OneDollar

Have you checked the hotspot x and y positions on your mouse cursors (shown by a dot or a cross on the cursor preview)? This is the area that the game will treat as the 'clicking point' of the cursor, so if its in a different place than you thought it was, you might not actually be clicking on the room hotspots.

MRollins

Yes I have checked those. These hotspots are very large so that's why it's so weird.

Akatosh

Are they probably partially overlapped by a GUI or a huge object? That blocks out clicks on the background, even if it's just the transparent parts that are hovering over your hotspot.

MRollins

Ah, that makes sense. I din't know that hotspots could be blocked by objects or walkable areas. Thanks!

Akatosh

Walkable areas don't block them out... objects, however, do. You're welcome, though.  ;)

SMF spam blocked by CleanTalk