inventory for adventure games...

hello for all
i read this post:
http://blenderartists.org/forum/showthread.php?t=78508&highlight=inventory+fps
the file works in blender 2.42:
http://www.savefile.com/files/108682

I am trying to adapt it to a game of adventures
but i understand the script info dont works .

code error:
file “info” line 11, in?
attribute error: note:confused:

the “note” property is located in the objects of the scene of the inventory. in the second layer:confused:

you can donwload the test file here:
http://pochoblender.googlepages.com/inventory3.zip

thanks for any aid:)

please dont double post!

POCHO: The error means that whatever object is running the script does not have a property named note. Is the object with the property “note” the one that calls the script? I’ll take a quick look at your file.

braveheart:
Double posting sometimes occurs by accident. If you take a while to write your post, you will time out on your log in session. When you try to submit the post, it asks you to log in, then gives a message “Invalid thread”. It really posted the thread, but you wouldn’t know that from the message you’re getting. So people click the back button and re-submit the thread. Then it is posted twice. There is no way to delete a double post except to contact a moderator, so it generally gets left that way. If this is what happened, the text of the two threads is identical and if the posting times are very close (one or two minutes apart). Since both of these are true in this case, we can safely assume that it was an accident and that POCHO did not intend to double post.

I’m not exactly sure what the problem is. I see the objects in Scene 2, Layer 2 with the property “note” attached, but I don’t completely understand how they are supposed to be added in and used in the inventory list. They aren’t showing up at all for me. I’ll have to look at luxor’s post to see how it’s supposed to be set up. I can’t do that until later today, though.

BTW, I like your character, and your system for moving is great. Maybe you could set up an animated cursor that’s angled so it looks like it’s on the ground and have it leave some sort of mark so that you know exactly where the character is going.

ok i see the problem… the startup script is running on every frame so it always reset everything on the always actuator that runs the startup script the pulse mode have to both be unchecked and that makes an always actuator only run once on startup. And the guns in the 2nd layer on the inventory scene have to be the EXACT same name as the ones on the “gun” property on the first scene case matters. yup your setup ws totally screwed.

and here is the fixed file
http://www.upload2.net/page/download/IufUAEQDc5ei34m/inventory3.zip.html

and no i dont know how to use sentanes or paragraphs.

Ah ok no problem :slight_smile:

thank you very much scabootssca.
the file works .:slight_smile: :slight_smile: :slight_smile:
very sorry for the double post:D
thanks blendenzo for the explanation of the double post:)
now you can download the test files inventory here:
http://pochoblender.googlepages.com/simpledemo.blend
http://pochoblender.googlepages.com/inventory3.zip
but i another final questions::confused:
when we used for example a key of the inventory
as an object of the inventory can be erased?

thank you very much to all by its aid