Having problems with Slider.
Error:
"underdefined symbol 'sldVolume'"
Script:
#sectionstart slidesound_change
function slidesound_change(GUIControl *conrol, MouseButton slider) {
SetSoundVolume(sldVolume.Value);
}
#sectionend slidesound_change
make sure sldVolume is assigned as the name of your slider.
it looks like slidesound, why not use that?
Error:
"Error: run_text_script1: error -1 using 'slidesound_change':
Wrong number of parameters to exported functions 'slidesound_change' (expected 2, supplied 1)
Script:
#sectionstart slidesound_change
function slidesound_change(GUIControl *conrol, MouseButton slider)Ã, {
Ã,Â
Ã, SetSoundVolume(slidesound.Value);
}
#sectionend slidesound_change
And, how do you cange what messageboxes look like?
Slider functions don't have the MouseButton parameter - it should look like::
#sectionstart slidesound_change
function slidesound_change(GUIControl *control) {
SetSoundVolume(slidesound.Value);
}
#sectionend slidesound_change
Where did that function come from - did you paste it in from somewhere else? (Just curious, as auto-created ones wouldn't have had the extra parameter.)
You mean the black and white box when you call Display("text"); (or 'Display message' from the interaction ediitor)? You need to create a custom Text Window GUI - look up "Customized Text Windows" in the manual.