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
HELP!!!
JPPSJ Offline
Junior Member

Posts: 20
Threads: 2
Joined: Apr 2012
Reputation: 0
#20
RE: HELP!!!

(04-17-2012, 01:11 AM)Putmalk Wrote: Functions aren't constrained to "below or above" any other function (at least in our game scripts!). It can technically go anywhere. For example, in the main game scripts, onstart and other functions are at the bottom of the script; sometimes, I have them on the top. Location doesn't matter.

What does matter is that you're not putting the functions inside of other functions, like this:

OnStart()
{

   OnLeave()
   {

   }

}

That's bad.
Ok, so i put everthing you put in
void OnStart()
{
"your example"
}


04-17-2012, 01:13 AM
Find


Messages In This Thread
HELP!!! - by JPPSJ - 04-16-2012, 11:38 PM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:01 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:06 AM
RE: HELP!!! - by MrIcabod123 - 04-17-2012, 12:12 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:14 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:19 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:27 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:37 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:39 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:46 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:52 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:53 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:57 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:59 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:01 AM
RE: HELP!!! - by Xanthos - 04-17-2012, 01:00 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:02 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:08 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:11 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:13 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:14 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:18 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:28 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:27 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:33 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:39 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:45 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:46 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 02:02 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 02:05 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 02:15 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 02:23 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 03:00 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 03:54 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 04:05 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 04:14 AM
RE: HELP!!! - by Putmalk - 04-18-2012, 02:16 AM
RE: HELP!!! - by jessehmusic - 04-18-2012, 12:23 PM



Users browsing this thread: 3 Guest(s)