Forum Moderators: not2easy

Message Too Old, No Replies

I need help with a lingo script

Object inventory in a game

         

erin_wold

3:56 pm on May 5, 2004 (gmt 0)



I am designing a game for a class. It is an adventure game where you move a character through a series of rooms.

I need a script that allows the character to do two things (if it's possible)

1. Place the object into an object inventory so the user cannot go back and answer the questions again when they return to the rooms.

2. Go to the pages to read the manual when the character runs into the object.

Right now I have it working so that when the character runs into the object it goes to the manual to read it.

One more thing I would like to happen is.. use the score as a key to the doors. So only a score greater than a certain number would allow the user to go into the other rooms.

If anyone could help me, it would be great.

ngentot

3:33 pm on May 12, 2004 (gmt 0)



hey Erin....you may want to investigate the use of global variables and list (or array as it's called in other programming language)