Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 16/07/2005 05:31:14

Title: voice speach
Post by: on Sat 16/07/2005 05:31:14
in the help section it says to use
character[EGO].Say("&10 Hi! How are you?");

when i change it to
character[timmy].Say("&1 Hi! How are you?");

i get an undentified error in timmy

Title: Re: voice speach
Post by: strazer on Sat 16/07/2005 05:35:52
Those character script names have to be capitalized:
  character[TIMMY].Say("&1 Hi! How are you?");

But you can also use them directly:
  cTimmy.Say("&1 Hi! How are you?");