Change cursor mode/graphic when hovering over object

Started by Nixxon, Wed 15/10/2014 09:41:42

Previous topic - Next topic

Nixxon

Hi Guys,

Just trying to get my cursor mode/graphic to change when the mouse is hovering over an object, I can do this for hotspots quite easily using the code below, I'm thinking there is a different method to do this when hovering over objects?

function hHotspot7_MouseMove()
{
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModecursedown;
mouse.UseModeGraphic(eModecursedown);

How would I apply the above principle/code to an object instead?

Any help would be GREATLY appreciated!


SMF spam blocked by CleanTalk