View Single Post
Old 09-23-2007, 12:03 AM   #1
A1win
Nutcracker
 
A1win's Avatar
 
Join Date: Sep 2007
Location: Kuopio, Finland
Posts Rated Helpful 0 Times
Send a message via MSN to A1win
Custom sentences for Speak

I need a SpeakAll() to speak "the flag has returned" but the default sentences only have "your flag has returned" and "the enemy flag has returned". In Push there is SpeakAll("CTF_BALLRETURN") which says "the ball has returned".

All of these are done by using the default sentences from the sentences.txt file. How can I make a custom sentence using lua?

If I type SpeakAll("vox/female/the flag has returned"), nothing happens. SpeakAll("the flag has returned") doesn't work either. Is this even possible?

Maybe I need a custom sentences.txt and include it with BSP zip? Why has this have to be made so difficult?
A1win is offline   Reply With Quote