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
Script problem help needed
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Script problem help needed

You have some serious mistakes.
You don't put ';' when creating a function. Only when calling.

Like this:

void ThisIsAFunction(these are function parameters)
{
there are things that I want function to do;
}

Now call this function:

void OnStart() // or OnEnter, or in another function, whatever.
{
ThisIsAFunction(parameters for this function);
}

03-27-2011, 10:37 PM
Website Find


Messages In This Thread
Script problem help needed - by Crypto - 03-27-2011, 10:32 PM
RE: Script problem help needed - by Tanshaydar - 03-27-2011, 10:37 PM



Users browsing this thread: 1 Guest(s)