The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting voices
Kauren Offline
Junior Member

Posts: 3
Threads: 1
Joined: Mar 2012
Reputation: 0
#1
Scripting voices

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!
(This post was last modified: 03-11-2012, 01:45 PM by Kauren.)
03-11-2012, 01:38 PM
Find


Messages In This Thread
Scripting voices - by Kauren - 03-11-2012, 01:38 PM
RE: Scripting voices - by Traggey - 03-11-2012, 03:05 PM
RE: Scripting voices - by Kauren - 03-11-2012, 03:15 PM
RE: Scripting voices - by Kauren - 03-11-2012, 05:59 PM
RE: Scripting voices - by Elven - 03-12-2012, 07:03 PM



Users browsing this thread: 1 Guest(s)