//////////////////////////////////////////////////////////////////////////////////////
//OnStart
//////////////////////////////////////////////////////////////////////////////////////
void OnStart()
{
AddEntityCollideCallback("Player", "Scene_2", "Talk", true, 1);
}
//////////////////////////////////////////////////////////////////////////////////////
//Opening Lines
//////////////////////////////////////////////////////////////////////////////////////
void Talk(string &in asParent, string &in asChild, int alState)
{
SetPlayerMoveSpeedMul(0);
SetPlayerRunSpeedMul(0);
SetPlayerJumpForceMul(0);
AddEffectVoice("" ,"johnathan 1.ogg", "Dialogue", "John1", false, "", 0, 0);
AddEffectVoice("" ,"guide1.ogg", "Dialogue", "Guide1", false, "", 0, 0);
AddEffectVoice("" ,"johnathan 2.ogg", "Dialogue", "John2", false, "", 0, 0);
AddEffectVoice("" ,"guide2.ogg", "Dialogue", "Guide2", false, "", 0, 0);
AddEffectVoice("" ,"johnathan 3.ogg", "Dialogue", "John3", false, "", 0, 0);
AddEffectVoice("" ,"guide3.ogg", "Dialogue", "Guide3", false, "", 0, 0);
AddEffectVoice("" ,"johnathan 4.ogg", "Dialogue", "John4", false, "", 0, 0);
SetEffectVoiceOverCallback("Memento");
}
//////////////////////////////////////////////////////////////////////////////////////
//Mementos
//////////////////////////////////////////////////////////////////////////////////////
void Memento()
{
AddQuest("Guide_Hint", "Familiar");
SetPlayerMoveSpeedMul(1);
SetPlayerRunSpeedMul(1);
SetPlayerJumpForceMul(1);
PlayMusic("Track4.ogg", true, 2, 1, 1, true);
}