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
Script problem help needed
Author Message
Crypto Offline
Junior Member

Posts: 14
Joined: Mar 2011
Reputation: 0
Post: #1
Smile Script problem help needed
My script has some serious problems and i dont know how to solve em Angry !
if u guys have any ideas tell me ! Big Grin


Attached File(s)
.jpg  nimetön.jpg (Size: 276.21 KB / Downloads: 12)
(This post was last modified: 03-27-2011 10:34 PM by Crypto.)
03-27-2011 10:32 PM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #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
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)