Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Candle on Wed 12/01/2005 05:39:03

Title: Mouse over mouse off [SOLVED]
Post by: Candle on Wed 12/01/2005 05:39:03
I'm using  // script for hotspot1: Mouse moves over hotspot
SetMouseCursor(10);
to change the mouse to a return type cursor but if it gos off the cursor how do I tun it back to the cursor it was when they came in to the rioom?
When they leave the room I use SetMouseCursor(2); 
}
Is there mouse moves off of hotspot ?

EDIT well I tried to have two hot spots with use the   // script for hotspot1: Mouse moves over hotspot SetMouseCursor(10); and just change it back two 2 or 10 what everyone that would be needed but it won't refresh when you move it off the  1hotspot back to the 2 Cursor .
Title: Re: Mouse over mouse off
Post by: strazer on Wed 12/01/2005 06:34:23

// script for hotspot1: Mouse moves over hotspot

SaveCursorForLocationChange();
SetMouseCursor(10);
Title: Re: Mouse over mouse off
Post by: Candle on Wed 12/01/2005 06:43:45
Thanks thats what I was looking for .