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
How to get working several "Voice effects at same map" [SOLVED]
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#1
How to get working several "Voice effects at same map" [SOLVED]

Yes my problem is this:

I need to get working many voice acting effects on one Intro.

void TeleportLocationTwo (string &in asTimer)
{
TeleportPlayer("PlayerStartArea_2");
AddTimer ("", 7, "FadeOut");
AddEffectVoice("whatanight.ogg", "", "Subtitles", "whatanight", false, "Player", 0, 0); <-- WORKING
SetMessage("Message", "ATSL", 4);
AddTimer ("", 10, "TeleportLocationThree");
FadeIn (2);
StopPlayerLookAt();
}



void TeleportLocationThree (string &in asTimer)
{
TeleportPlayer("PlayerStartArea_3");
FadeIn (2);
AddEffectVoice("sleep.ogg", "", "Subtitles", "sleep", false, "Player", 0, 0); <-- NOT WORKING why?
SetMessage("Message", "Enjoy", 4);
AddTimer ("", 5, "FadeOut4");
AddTimer ("", 8, "TeleportLocationFour");
SetPlayerLookSpeedMul(0.3f);
}

When player teleports other place I need to make that second "voice acting working too" but nothing happens or I can't hear anything only first effect.

Where's the problem? Need help ASAP.

“Life is a game, play it”
(This post was last modified: 06-13-2012, 10:34 PM by HumiliatioN.)
06-13-2012, 05:09 PM
Find


Messages In This Thread
How to get working several "Voice effects at same map" [SOLVED] - by HumiliatioN - 06-13-2012, 05:09 PM



Users browsing this thread: 1 Guest(s)