Inventory Problems

Started by Athirwen, Thu 19/08/2004 09:23:26

Previous topic - Next topic

Athirwen

Ok, I read the manual, and followed what it said but I still can't get it right.

I can get my sprite to pick up and object, but when I view it in the inventory it's just a blue cup. I've changed the image in the inventory items to what I want but it just won't show in the game. Help please on what to do!

Thanks!

TerranRich

This is one of the OLDEST problems newbies have. Check ths out: http://www.agsforums.com/kbview.php?id=12

It's under "Knowledge Base". Didn't I mention that in the READ THIS FIRST thread?
Status: Trying to come up with some ideas...

Athirwen

#2
Sorry I did READ THIS THREAD FIRST. I followed that and it still comes up with a blue cup. As I mentioned in my first post, I have followed the tutorial and also looked at that thread. Just because I'm a newbie, doesn't mean I can't read.

Thanks for you help anyway.

Darth Mandarb

Maybe ...

Make sure, when you do the 'AddInventory' command, that you're using the inventory item's number, and not the room's object number.

For example, if it's the 6th object in the room (object 5, as they start at 0) you would remove object 5 from the room when you 'pick up' that object.

However, if that particular item is item 4 in your inventory items screen, you need to add to inventory item 4, not object 5.

Does this make sense?  Am I way off?

Athirwen

Thanks Darth Mandarb, that solved it. You're not way off, I'm just new to the whole AGS thing and needed a little push in the right direction.

I'm off to create my new sprite now ;)

SMF spam blocked by CleanTalk