Bomb Puzzle (For game)

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Bomb Puzzle (For game)

Postby Jaked » Sun Jan 17, 2010 11:01 pm

Here is my script so far for the puzzle. You're supposed to cut each of the correct wires in accordance to the code on the bottom. If you die, it randomizes the order through frames.

Project Properties

Code: Select all
Poss1SequenceDone=Red+Blue+Green
Poss2SequenceDone=Red2+Blue2+Green2
Poss3SequenceDone=Red3+Blue3+Green3
If Poss1SequenceDone=3 then Action.GoToFrame "Win"
Else If Poss2SequenceDone=3 then
Action.GoToFrame "Win"
Else If Poss3SequenceDone=3 then
Action.GoToFrame "Win"
End If
End If
End If


Red Wire (Solution 1)

Code: Select all
OtherwiresRed=Blue+Green
If OtherwiresRed=1 then
Action.GoToFrame "Kaboom"
Else If OtherwiresRed=2 then
GoToFrame "Kaboom"
Else If OtherwiresRed=0 then
Action.Message "Got it! Now two more!"
Action.LoadAPicture Hotspot(2) "RedWireClipped.JPG"
Red=1
End If
End If
End If


Blue Wire (Solution 1)

Code: Select all
OtherwiresBlue=Red+Green
If OtherwiresBlue=1 then
Action.Message "Got it! One last one to go!
Action.LoadAPicture Hotspot(3) "BlueWireClipped.JPG"
Else If OtherwiresBlue=0 then
GoToFrame "Kaboom""
Else If OtherwiresBlue=2 then
GoToFrame "Kaboom"
Blue=1
End If
End If
End If


Green Wire (Solution 1)

Code: Select all
OtherwiresGreen=Red+Blue
If OtherwiresGreen=0 then
GoToFrame "Kaboom"
Else If OtherwiresGreen=1 then
GoToFrame "Kaboom"
Else If OtherwiresGreen=2 then
Action.Message "That was a close one!"
Green=1
End If
End If
End If


What I need here is a timer sequence, a randomizer when you need to restart and maybe fine tuning the above script. I have to re-do this in a different order twice, so if anyone can help.
My sig changes more often than Doctor Who (see your national BBC channel) regenarates into new melancholy actors. Oh look, Matt Smith! Gerard Butler! Colin Mochrie! That wolf from Twilight: New Moon!
User avatar
Jaked
Code Master
 
Posts: 729
Joined: Wed Jun 25, 2008 4:26 am

Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests