05-09-2012, 04:02 AM
PLEASE SEE 5th RESPONCE
Can someone help me out with this script, I have no clue what is wrong. I am honestly no good at this and keep getting something wrong please help if you can!
Spoiler below!
Can someone help me out with this script, I have no clue what is wrong. I am honestly no good at this and keep getting something wrong please help if you can!
Quote: ////////////////////////////
// Run when entering map
void OnEnter(){
void wakeUp ()
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
void beginStory(string &in asTimer){
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);
SetPlayerSanity(10);
SetPlayerHealth(40);
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}