Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script didn't work...
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Script didn't work...

It is best to have everything in the void OnStart() that you did not include...

Try this:

void OnStart()
{
     AddEntityCollideCallback("Player", "lampson", "Lamps", false, 1);
}
void Lamps(string &in asParent, string &in asChild, int alState)
{
     SetLampLit("chandelier_nice_1", false, false);
}

By the way, welcome to the forums!

07-04-2011, 04:32 PM
Find


Messages In This Thread
Script didn't work... - by H. Filipe - 07-04-2011, 04:28 PM
RE: Script didn't work... - by Kyle - 07-04-2011, 04:32 PM
RE: Script didn't work... - by H. Filipe - 07-04-2011, 04:37 PM
RE: Script didn't work... - by Janni1234 - 07-04-2011, 04:33 PM



Users browsing this thread: 1 Guest(s)