Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Action.LoadAPicture Hotspot(HOTSPOT_NUMBER), "FILENAME"
Code:
Text(1).caption=""
Now go to the hotspot and add this code:
Code:
Text(1).caption="Your hint"
Action.LoadAPicture Hotspot(TEXTHOTSPOTNUMBER), "TEXTPICTURE.EXTENSION"
Hotspot(TEXTHOTSPOTNUMBER).Visible = False
Action.LoadAPicture Hotspot(BUTTONHOTSPOTNUMBER), "BUTTONPICTURE.EXTENSION"
Hotspot(BUTTONHOTSPOTNUMBER).Enabled = True
Hotspot(TEXTHOTSPOTNUMBER).Visible = True
Hotspot(BUTTONHOTSPOTNUMBER).Enabled = False
Text(TEXTNUMBER).Caption = SOLUTION
Text(TEXTNUMBER).ForeColor = vbGreen
Text(TEXTNUMBER).Visible = False
Text(BUTTONTEXT#).Caption = Hint
Hotspot(BUTTONHOTSPOT#).Enabled = True
Text(TEXTNUMBER).Visible = True
Hotspot(BUTTONHOTSPOT#).Enabled = False
LoadControl TextBoxObject(1)
TextBoxObject(1).Move 240*15,300*15,300*15,30*15
TextBoxObject(1).Visible = True
Text(2).Caption = If you name this,you break it.
Text(2).Visible = False
Text(2).Caption = Hint
Hotspot(4).Enabled = True
Text(2).Visible = True
Hotspot(4).Enabled = False
On the frame, make sure there are two textboxes and a hotspot over the "Hint" textbox.
Text(1).caption="HINT"--actually have to put word in there.
Text(1).caption="The hint"
Return to Adventure Maker General Discussion
Users browsing this forum: No registered users and 0 guests