Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I think the syntax is wrong
GillFrog Offline
Junior Member

Posts: 26
Threads: 7
Joined: Mar 2011
Reputation: 1
#1
Question  I think the syntax is wrong

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);
}
(This post was last modified: 04-25-2012, 02:19 PM by GillFrog.)
04-25-2012, 02:19 PM
Website Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: I think the syntax is wrong

Timers have the syntax of string &in asTimer Smile

04-25-2012, 02:32 PM
Find
GillFrog Offline
Junior Member

Posts: 26
Threads: 7
Joined: Mar 2011
Reputation: 1
#3
RE: I think the syntax is wrong

(04-25-2012, 02:32 PM)SilentStriker Wrote: Timers have the syntax of string &in asTimer Smile
Thanks!
04-25-2012, 02:46 PM
Website Find




Users browsing this thread: 2 Guest(s)