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
new to scripting thing
Roenlond Offline
Senior Member

Posts: 331
Threads: 3
Joined: Apr 2011
Reputation: 0
#2
RE: new to scripting thing

You will need to add a callback of some sort in the OnStart() area. Be it player collide, interact, look, etc. The order and such doesn't matter, but it is generally easier for everybody if you got a decently sorted script.

Just be sure to keep this format:

void FunctionNameThatCanBeAnything(syntax)
{
DoStuff();
}

Remember the {}'s, the first one marks the start of the function while the second one ends it.
05-03-2011, 04:54 PM
Find


Messages In This Thread
new to scripting thing - by eRoTic - 05-03-2011, 04:38 PM
RE: new to scripting thing - by Roenlond - 05-03-2011, 04:54 PM



Users browsing this thread: 1 Guest(s)