FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
}
void TeleportPlayer(string &in entity);
{
TeleportPlayer("StartElevator");
FadeOut(0);
PlaySoundAtEntity("", "14_elevator_activate.snt", "Player", 0, true);
}
a ; at the initiation of the function where there shouldn't be
(06-23-2012, 08:28 PM)FastHunteR Wrote: void TeleportPlayer(string &in entity);
{
TeleportPlayer("StartElevator");
FadeOut(0);
PlaySoundAtEntity("", "14_elevator_activate.snt", "Player", 0, true);
}
a ; at the initiation of the function where there shouldn't be
i did that alredy
i'm having troubble with the fatal error
Hi.
(This post was last modified: 06-23-2012, 08:31 PM by MaZiCUT.)
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
// Take care of this SetEntityPlayerInteractCallback("NAME OF THE BUTTON", "Interaction", false);
}