(Moves the player from the Save-Load frame and unloads the two text boxs and their "Yes"/"No" buttons.)
_____________________________________________________________
16. On the Return to Menu button add this to the advanced tab of the hotspot -
- Code: Select all
UnloadControl TextBoxObject(1)
UnloadControl TextBoxObject(2)
Hotspot(26).Enabled=False
Text(26).caption=""
Hotspot(27).Enabled=False
Text(27).caption=""
Hotspot(29).Enabled=False
Text(29).caption=""
Hotspot(30).Enabled=False
Text(30).caption=""
Action.GoToFrame "Main_Menu",1,1
17. On the Return to Game button add this to the advanced tab of the hotspot -
- Code: Select all
UnloadControl TextBoxObject(1)
UnloadControl TextBoxObject(2)
Hotspot(26).Enabled=False
Text(26).caption=""
Hotspot(27).Enabled=False
Text(27).caption=""
Hotspot(29).Enabled=False
Text(29).caption=""
Hotspot(30).Enabled=False
Text(30).caption=""
Action.GoToFrame Action.ReadINI(filename+".room",1,1),1,1