Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Action.LoadAPicture Hotspot(index_number),"filename.extention"
Action.LoadAPicture Hotspot(index_number),"filename.extention"
Color1 = Color1 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(2), "blue.GIF"
If Color1 = -2 then Action.LoadAPicture Hotspot(2), "green.GIF"
If Color1 = -3 then Action.LoadAPicture Hotspot(2), "red.GIF"
If Color1 = -4 then Color1=0 : Action.LoadAPicture Hotspot(2), "black.GIF"
If Color1 = -3 Then
ColorSet1 = 1
Else
ColorSet1 = 0
End If
If ColorSet1 + ColorSet2 + ColorSet3 = 3 Then
Action.GoToFrame "Frame_Name"
Else
Message "The code is wrong"
End If
Action.LoadAPicture Hotspot(1),"Blue.ico"
Action.LoadAPicture Hotspot(1),"Green.ico"
Action.LoadAPicture Hotspot(1),"Red.ico"
Color1 = Color1 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(1), "blue.ico"
If Color1 = -2 then Action.LoadAPicture Hotspot(1), "green.ico"
If Color1 = -3 then Action.LoadAPicture Hotspot(1), "red.ico"
If Color1 = -4 then Color1=0 : Action.LoadAPicture Hotspot(1), "black.ico"
If Color1 = -3 Then
ColorSet1 = 1
Else
ColorSet1 = 0
End if
If myvariable=0 Then
myvariable=1
end if
Select case myvariable
Case 1
color="red.bmp"
Case 2
color="green.bmp"
Case 3
color="black.bmp"
Case 4
color="blue.bmp"
End Select
Action.LoadAPicture Hotspot(1), color
myvariable=myvariable+1
Color1 = Color1 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(1), "blue.ico"
If Color1 = -2 then Action.LoadAPicture Hotspot(1), "green.ico"
If Color1 = -3 then Action.LoadAPicture Hotspot(1), "red.ico"
If Color1 = -4 then Color1=0 : Action.LoadAPicture Hotspot(1), "black.ico"
Color2 = Color2 - 1
If Color2 = -1 then Action.LoadAPicture Hotspot(2), "blue.ico"
If Color2 = -2 then Action.LoadAPicture Hotspot(2), "green.ico"
If Color2 = -3 then Action.LoadAPicture Hotspot(2), "red.ico"
If Color2 = -4 then Color2=0 : Action.LoadAPicture Hotspot(2), "black.ico"
Color1 = Color1 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(2), "blue.GIF"
If Color1 = -2 then Action.LoadAPicture Hotspot(2), "green.GIF"
If Color1 = -3 then Action.LoadAPicture Hotspot(2), "red.GIF"
If Color1 = -4 then Color1=0 : Action.LoadAPicture Hotspot(2), "black.GIF"
If Color1 = -3 Then
ColorSet1 = 1
Else
ColorSet1 = 0
End If
Color1 = Color1 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(1), "blue.GIF"
If Color1 = -2 then Action.LoadAPicture Hotspot(1), "green.GIF"
If Color1 = -3 then Action.LoadAPicture Hotspot(1), "red.GIF"
If Color1 = -4 then Color1=0 : Action.LoadAPicture Hotspot(1), "black.GIF"
Color2 = Color2 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(2), "blue.GIF"
If Color1 = -2 then Action.LoadAPicture Hotspot(2), "green.GIF"
If Color1 = -3 then Action.LoadAPicture Hotspot(2), "red.GIF"
If Color1 = -4 then Color2=0 : Action.LoadAPicture Hotspot(2), "black.GIF"
Hmmm, can you zip and upload your project folder somewhere?
And tell the frame name where you have this puzzle?
Color1 = Color1 - 1
If Color1 = -1 then Action.LoadAPicture Hotspot(1), "Blue-Tile.ico"
If Color1 = -2 then Action.LoadAPicture Hotspot(1), "G-Tile.ico"
If Color1 = -3 then Action.LoadAPicture Hotspot(1), "Red-Tile.ico"
If Color1 = -4 then Color1=0 : Action.LoadAPicture Hotspot(1), Black-Tile.ico"
mercedes wrote:Hmmm, can you zip and upload your project folder somewhere?
And tell the frame name where you have this puzzle?
I'm not sure what you mean by this...
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests