Posted by Triuken 216.112.236.166 using Mozilla/4.51 [en] (Win98; I) on April 07, 2000 at 19:21:20:
In Reply to: Here's the Code. posted by Adrian on April 07, 2000 at 19:09:30:
#If(result$=="2") OKay.. maybe that was the problem, after all.. =) -Triuken
You have a few syntax errors.. 1.. what if the player DOESN'T press 1 or 2? How bout he slips and hits Q? To fix this, use a #Branch that will loop back up after those two #Ifs..
2. your brackets ( ie.. {}}{{}{}{ ) are all over the place! they should be after the #IF.. like..
{
#MWin("You decided not to read the note.")
#Wait(a$)
}
i dunno.. take a shot.. ;)
: #MWinCls()
: #MWin("It's just a desk")
: @
: #MWin("Wait it looks like a note")
: #Wait(a$)
: #MWinCls()
: #MWin("1- Read it.")
: #MWin("2- Don't Read it.")
: #Wait(result$)
: {
: #If(result$=="1")
: #Wait(a$)
: #Bitmap("note1.jpg")
: #Wait(a$)
: }
: {
: #If(result$=="2")
: #MWin("You decided not to read the note.")
: #Wait(a$)
: }
: : It is much easier then guessing.. =)
: : : : : If you look at the screen below from my game, I have problem where once the player chooses to view one of the guards notes, the Message Window stays, is there anyway I can get rid of the message box while the player is reading the note. And this is a question, I was thinking of putting pianos that contain voice clues, those that sound ok? Thanks(again)
: : : : : Adrian
: : : : :