Ok...so I got this figured out but I still don't understand. See code below. If I use Mouse.UserModeGraphic with my custom cursor mode it works. If I use Mouse.ChangeModeGraphic with the sprite # and with the Interact Mode, I lose my arrow. (see commented out lines)
Code: ags
Here are two videos showing working correctly and incorrectly (when I lose the arrow).
Correct: https://youtu.be/EQFJbFcnn2A
Inccorrect: https://youtu.be/7I21LJAYhQE
//New cursor logic
if (GetLocationType(mouse.x,mouse.y) != eLocationNothing) {
if(Mouse.Mode!=eModeUseinv) {
if (player == cWoman) Mouse.UseModeGraphic(eModeDapHandU);
// if (player == cWoman) Mouse.ChangeModeGraphic(eModeInteract, 485);
if (player == cMan) Mouse.UseModeGraphic(eModePointer); } }
// if (player == cMan) Mouse.ChangeModeGraphic(eModeInteract, 16); } }
else { Mouse.UseDefaultGraphic (); }
//New cursor logic end
Here are two videos showing working correctly and incorrectly (when I lose the arrow).
Correct: https://youtu.be/EQFJbFcnn2A
Inccorrect: https://youtu.be/7I21LJAYhQE