Hi there, I've got something strange going on. Every time I start a script where a character needs to use an inventory item, and then lose it after the one use, the cursor vanishes. It still works, but you cannot see it. I already tried some lines about changing the cursor but nothing really works.
What's strangest is that I didn't have this problem with my previous game. I made that one in 3.6.0., this one in 3.6.1. Could this be the problem?
I'll add the code that I used too, just in case
Code: ags
What's strangest is that I didn't have this problem with my previous game. I made that one in 3.6.0., this one in 3.6.1. Could this be the problem?
I'll add the code that I used too, just in case
function hDrawer_UseInv(Hotspot *theHotspot, CursorMode mode)
{
if (player.ActiveInventory == iDrawerkey)
{
player.Say("Hi");
SetBackgroundFrame(1);
player.LoseInventory(iDrawerkey);
}
}