Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Stranga on Mon 24/04/2017 07:53:37

Title: SOLVED:Cursor still in use inventory mode after roomchange
Post by: Stranga on Mon 24/04/2017 07:53:37
Hello everyone, I've let this slide for most of the development process, but now it's getting on my nerve. When you use an item, lets say a key, and you transfer to a new room. the player is still holding that item(the cursor still in item use mode.) I am using the TWO CLICKER HANDLER script also.
Any help would be greatly appreciated :)
Title: Re: Cursor still in use inventory mode after roomchange
Post by: NicolaGs on Mon 24/04/2017 08:15:47
You can disable the current active inventory item with character.ActiveInventory = null
Title: Re: Cursor still in use inventory mode after roomchange
Post by: Stranga on Mon 24/04/2017 08:46:58
Thanks NicolaGs! I didn't think it would have been that easy.