Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Pictures and input codes

Author
Message
Silence
13
Years of Service
User Offline
Joined: 14th Oct 2012
Location:
Posted: 14th Mar 2013 15:25
Hello forum.

I have a set of pictures to be inputed into the game as a pause menu. Each picture has a unique set of questions you need to answer to gain a hint and open a door with the clues. My question is this:

How can I set the code up so that when a specific picture loads the input command will also change to correspond with it?

For example I have a pause menu that shows some PEMDAS math equations. These have a specific set of numbers that you need to open the door. So you go into the section with the input command and type in your answer. However I'm not sure how I can make them correspond with each other so the input will also be linked with the pictures so the answers wont be out of whack.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Mar 2013 02:10
Use an array with a UDT. The UDT would contain the image number plus the corresponding input.

I'm not entirely sure what you mean by input though.

"You're all wrong. You're all idiots." ~Fluffy Rabbit

Login to post a reply

Server time is: 2026-07-07 04:10:29
Your offset time is: 2026-07-07 04:10:29