Checking number of INV items at runtime?

Started by Hollister Man, Fri 01/08/2003 14:48:27

Previous topic - Next topic

Hollister Man

I have read the manual, but couldn't find quite the right information.  I am trying to switch the inventory icon outside of the GUI, possible using the mouse wheel/keyboard.  Are there any suggestions as to how to code it?  I got it started, but what I tried ended up  crashing the engine.
That's like looking through a microscope at a bacterial culture and seeing a THOUSAND DANCING HAMSTERS!

Your whole planet is gonna blow up!  Your whole DAMN planet...

Ishmael

Inventory icon outside of GUI? You mean like the button in Sierra GUI which has the last used inv intem on it, but ouside the main GUI? I got that in my game :D and works well, execpt if you look at objects in the inv but dont select anything, the button comes up anyway... working on it... and might share the code... if I can copy it from my laptop to my internet comp... but elaborate a bit... ;)
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

HollisterMan at work

Actually I got to thinking about it, and I would need to check WHICH inventory items the player had, and scroll between those items he already has.  Something like "Nextitem" and"previtem"  

It would work like the "right click" in most Adventure games.  The one that cycles through the available cursors.  Well, when the inventory cursor is selected, the wheel would cycle through the available inventory items.

It seems like there would be a quick way, but it don't necessarily mean it IS that way. :)

SMF spam blocked by CleanTalk