using hotspots as standpoint areas and not display them?

Started by selmiak, Fri 23/03/2012 00:43:39

Previous topic - Next topic

selmiak

So I want the character to behave different on mouseclick on an object depending on where the character is standing related to an object.
Using walkable areas is an idea, but the walkable areas are already used for scaling and even view change. This will make it too complicated and is the worst solution.
Just calculating on cEgo.x & cEgo.y would be an option but is rather complicated as the shapes of the different areas where the different behaviour should happen are with diagonal borders.
So I thought using hotspots as areas with Hotspot.GetAtScreenXY(cEgo.x, cEgo.y) but then the @overhotspot@ always wants to display something when hovering the mouse over the hotspot. I have a gui showing the @overhotspot@ with a bg and this is always displayed when over hotspot, even when it is empty. But when setting hHotspot.Enabled=false the gui doesn't pop up but I can't check for GetAtScreen.

So I'm rather clueless now...


selmiak

sound useful and quite obvious, duh. Thanks a lot Khris, gonna look into this... :D

SMF spam blocked by CleanTalk