Global Messages as Speech

Started by rtf, Fri 13/02/2004 20:28:34

Previous topic - Next topic

rtf

Hey again.

I was wondering, is it possible to make a Global Message be displayed as speech?

Thanks to anyone who can help
I fail at art.

Ishmael

I've made a function for it...

in the script header:

import function SpeakMessage(int,int);

and in the global script's start:

function SpeakMessage(int CharID, int msg){
string messag;
GetMessageText(msg,messag);
DisplaySpeech(CharID, messag);
}

and to display a global message, type it's number in place of int msg, like:

SpeakMessage(EGO, 501);

would make EGO speak the global message 501.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk