Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I think the syntax is wrong
Author Message
GillFrog Offline
Junior Member

Posts: 26
Joined: Mar 2011
Reputation: 1
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
SilentStriker Offline
Posting Freak

Posts: 939
Joined: Jul 2011
Reputation: 39
Post: #2
RE: I think the syntax is wrong
Timers have the syntax of string &in asTimer Smile

04-25-2012 02:32 PM
Find all posts by this user Quote this message in a reply
GillFrog Offline
Junior Member

Posts: 26
Joined: Mar 2011
Reputation: 1
Post: #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
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)