void OnStart(){ //Starting Settings FadeOut(0.0f); SetPlayerActive(false); //Intro Settings AddTimer("Intro", 1.0f, "IntroStart"); //START INTRO EVENT// void IntroStart (string &in asTimer) { SetPlayerCrouching(true); FadePlayerRollTo(-85.0f,50.0f,500.0f); FadePlayerFOVMulTo(1.3f, 5.0f); AddTimer("GameInit", 10.0f, "IntroVision"); PlaySoundAtEntity("IntroSound","intro_pig_attack_temp.snt","Player", 1.0f, false); AddDebugMessage("Playing Intro", true); } void IntroVision (string &in asTimer) { AddTimer("PlayerMove", 5.0f, "IntroFinished"); FadeRadialBlurTo(0.04f, 0.1f); SetPlayerMoveSpeedMul(0.5f); SetPlayerRunSpeedMul(0.5f); SetPlayerLookSpeedMul(0.3f); SetPlayerJumpDisabled(true); SetPlayerCrouchDisabled(true); PlayerBreath(); StartEffectFlash(0.1f, 1.0f, 0.2f); FadeIn(0.1f); AddPropForce("cellar_gaslamp01_long_dyn_1", 200.0f, 0.0f, 0.0f, "world"); AddPropForce("cellar_gaslamp01_long_dyn_2", 300.0f, 0.0f, 0.0f, "world"); PlaySoundAtEntity("", "amb_mansion_mansion_drone_attic.snt","Player", 2.0f, true); } void IntroFinished (string &in asTimer) { SetPlayerCrouching(false); FadePlayerRollTo(0.0f,30.0f,60.0f); PlayerCough(); SetPlayerActive(true); } //END INTRO EVENT//