Frictional Games Forum (read-only)

Full Version: I think the syntax is wrong
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, so i want to fade the screen black then fade it back.
I don't get the syntax stuff. (I'm a n00b/idiot.) Sad
May someone help me out?

Here's the script:
Quote:void func_monster_start(string &in asTimer,string &in asParent, string &in asChild, int alState)
{
FadeOut(1);
AddTimer("timer1", 5, "func_monster_start_now");
}

void func_monster_start_now(string &in asParent, string &in asChild, int alState)
{
FadeIn(1);
}
Timers have the syntax of string &in asTimer Smile
(04-25-2012, 02:32 PM)SilentStriker Wrote: [ -> ]Timers have the syntax of string &in asTimer Smile
Thanks!