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
[SOLVED] Lights on script
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Lights on script

You're missing the callback declaration inside OnStart

I'm guessing you want one for that TorchOnSchool function with those parameters, so you need a collide callback. If I'm not mistaken it's AddEntityCollideCallback ( parent, child, function, deleteOnUse, state );
Just check the wiki. got the link?

02-24-2015, 09:06 PM
Find


Messages In This Thread
[SOLVED] Lights on script - by Aletho - 02-24-2015, 08:53 PM
RE: Lights on script - by Daemian - 02-24-2015, 09:06 PM
RE: Lights on script - by Aletho - 02-24-2015, 09:57 PM



Users browsing this thread: 1 Guest(s)