06-13-2012, 05:09 PM
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.
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.