Yes, it's me again.
I'm having this problem that I don't know how to solve:
I have a code made so that the cursor changes when the mouse is over a hotspot or object and returns to normal when it´s not (thanks Khris!).
GlobalScript.asc// called on every game cycle, except when the game is blocked
function repeatedly_execute()
{
if (player.ActiveInventory) return;
LocationType loc_type = GetLocationType(mouse.x, mouse.y);
if (loc_type == eLocationNothing) Mouse.Mode = eModePointer;
else {
Mouse.SaveCursorUntilItLeaves();
Mouse.Mode = eModeInteract;
}}
But now I have this strange problem, where if I select an item and move the mouse quickly, the pointer of the selected item disappears and returns to the normal pointer even if the item is still selected.
Here I attach a video showing what happens:Does anyone know how to solve this?
I tried changing the code to the section of
// called on every game cycle, even when the game is blocked
function repeatedly_execute_always()
but the same thing keeps happening
PS:
I tried it and tried to fix it for a while longer before posting (yes, I saved the message in case I couldn't solve it). I noticed that the cursor doesn't change only by the movement speed, sometimes it does it also by going slow, or even never changes to the item selection one.