Changing the Speaker

Started by FinalSin, Tue 29/06/2004 17:50:39

Previous topic - Next topic

FinalSin

Scripting is great! Really wonderful. But when I insert speech I can't seem to change the speaker to EGO. It mentions it in the tutorials, but doesn't clarify it much. Is it even possible?
The Blue Casket

LordHart

Um, you mean by playing a voice file with the text speech that comes up?

If so, you need to have the file named something like ego1.wav and then when you want the player talking:
DisplaySpeech(EGO, "&1 I am talking...");
And don't forget to Rebuild all VOX files...

FinalSin

I need this to be spoken by EGO, not the narrator:

Code: ags

if (my_counter == 0) {
    Display("It's a first edition of 'Mufkin's Big Book Of Secret Bookcase Passageways");
  }
  if (my_counter == 1) {
    Display("Chapter 1 - Bookcases often have hidden secret passages in them.");  
  }
  if (my_counter == 2) {
    Display("Chapter 2 - Often, secret books need to be placed in the gaps. They may have suggestive names or other clues.");
  }
  if (my_counter == 3) {
    Display("That's all it says. Odd.");  
  }
  if (my_counter < 3) {
    my_counter += 1;
  }


If I put in EGO before the speech marks then it says there is a "parse error near 0"
The Blue Casket

Mr Jake

DisplaySpeech (EGO, "blah");

EDIT: I should add that what you had wasnt displaying any speech it was a message.

SMF spam blocked by CleanTalk