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 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
}
I commented out one section (/*comment*/) that had no function, i.e it was just
{
DoStuff();
}
not
void Stuff()
{
DoStuff();
}
There's nothing calling that function and since I have no idea what you want with it, I simply commented it out. Fix that and you're good to go, I believe
Oh thanks!. Atleast I should know whats causing that problem in the future! So I can pretty much put anything there?
void GruntPathNodes
{
Stuff();
MoreStuff();
EvenMoreStuff();
}
yeah, just be sure to remember the syntax in parentheses after GruntPathNodes, depending on the callback you use.