Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: KristjanMan on Thu 06/04/2006 21:00:02

Title: Inventory item(SOLVED)
Post by: KristjanMan on Thu 06/04/2006 21:00:02
Hey I hava a problem with invetory item. I have AGS 2.7
I have two inventory items right now a shovel and a key now when i click on the shovel in inventory the mouse cursor will turn intto the shovel sprite so far so good BUT when i click on the key the mouse cursor won't change what could be the problem?
Title: Re: Inventory item
Post by: Khris on Fri 07/04/2006 01:44:45
Do you click on the key with the mouse cursor already turned into the shovel?
Are you using a custom inventory?
Title: Re: Inventory item
Post by: KristjanMan on Fri 07/04/2006 14:03:44
No no no i'm not rying to use shovel with key i use the shovel and i get the key and then i try to use the key but the image won't change aboute the custom inventory i don't know
Title: Re: Inventory item
Post by: Khris on Fri 07/04/2006 16:31:31
You click on the shovel and get the key?
If this is true, you've accidently screwed up the use-cursor's hot pixel.
You think you click on the shovel, but you actually click on the key -> cursor turns to key
you think you click on the key, but you actually click on nothing -> cursor stays the way it is

Go to the cursors tab, select the use-cursor and check out were the little yellow dot on the cursor is.
Title: Re: Inventory item
Post by: KristjanMan on Fri 07/04/2006 19:44:05
no no no (again) I'm using the shovel on hotspot then i get the key but when i click on key the cursor turns into walkto sprite

BTW i loose the shovel after using it so i have only key in my inv
Title: Re: Inventory item
Post by: Darth Mandarb on Sat 08/04/2006 16:27:53
perhaps the lack of punctuation which you dont use is causin him to not fully though he is a smart man understand what youre trying to tell him and thats why hes having a hard time answering your question i mean i too am having a hard time understanding exactly what youre trying to convey so the guy cant use the shovel on the key is what youre saying and the hotspot doesnt interact properly with the key or is there another issue at play here which we dont yet know about tell us more detail so we can more easily handle the situation and answer your question thanks and do come again

;)
Title: Re: Inventory item
Post by: KristjanMan on Sat 08/04/2006 16:44:51
Ok in my game:
I click on the shovel in my inv and the cursor changes into the shovel( wroking like it should)
I use the shovel on hotspot i get the key and loose the shovel ( working like it should)
I click on the key in my inventory but the cursor doesn't change into the key instead it turns into the Walk To cursor

Do you understand me now?
Title: Re: Inventory item
Post by: KristjanMan on Tue 11/04/2006 15:22:08
Well it's working now but I didn't to anything with scrip so still don't know what was wrong, but it works