03-11-2012, 01:38 PM
I have been working on a script to have voices in my custom story. Here's what I have:
void OnStart()
{
AddTimer("Test", "5.0f", "Intro_1");
}
void Intro_1(string &in asTimer)
{
AddEffectVoice("MeSpeaking.ogg", "", "Subtitles", "MeSpeaking", false, "", 0, 0);
}
And here's my lang file:
<LANGUAGE>
<CATEGORY Name="Subtitles">
<Entry Name="MeSpeaking">I need you to work god damnit!</Entry>
</CATEGORY>
</LANGUAGE>
Help is very much appreciated!
void OnStart()
{
AddTimer("Test", "5.0f", "Intro_1");
}
void Intro_1(string &in asTimer)
{
AddEffectVoice("MeSpeaking.ogg", "", "Subtitles", "MeSpeaking", false, "", 0, 0);
}
And here's my lang file:
<LANGUAGE>
<CATEGORY Name="Subtitles">
<Entry Name="MeSpeaking">I need you to work god damnit!</Entry>
</CATEGORY>
</LANGUAGE>
Help is very much appreciated!