How do you get scar to play a song after a certain point in the script? Rather a sound then a song. Also if like in the constants you have...
Then I would like it to not play the sound. Help is appreciated.Code:const PlaySound = true;
THANKS
How do you get scar to play a song after a certain point in the script? Rather a sound then a song. Also if like in the constants you have...
Then I would like it to not play the sound. Help is appreciated.Code:const PlaySound = true;
THANKS
Last edited by Death12652; 05-16-2010 at 07:27 PM.
PlaySound(PATHTOFILE); ?
lol
so what about making it equal true?
Like This
But I need the Alert := True at the top of the script for other peoples use.Code:program Notify; var Alert : boolean; begin Alert := True If Alert Then begin PlaySound(ScriptPath + 'nudge.wav'); end else Writeln('Alert Is Off'); end.
SCAR Code:const
UseAlertSounds = True;
procedure AlertSound;
begin
if (not (UseAlertSounds)) then
Exit;
PlaySound('C:\Windows\Media\Tada.wav');
end;
begin
AlertSound;
end.
There are currently 1 users browsing this thread. (0 members and 1 guests)