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
Easy to answer question Can I do this?
bored2tears Offline
Member

Posts: 56
Threads: 6
Joined: Jun 2012
Reputation: 3
#2
RE: Easy to answer question Can I do this?

No. That will not work.

I am not so good at scripting yet, but try this:

void OnStart()



{

AddEntityCollideCallback("Player", "ScriptArea_8", "Fade", true, 1);

}

void Fade(string &in asParent, string &in asChild, int alState)
{
FadeOut(5)
}

The third thing in quotes is the name of the function that you have to call. This should work.
06-25-2012, 10:10 PM
Find


Messages In This Thread
RE: Easy to answer question Can I do this? - by bored2tears - 06-25-2012, 10:10 PM



Users browsing this thread: 2 Guest(s)