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
still having script problem and a simple question
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: still having script problem and a simple question

You have 2 "void OnStart()". There only needs to be one. Also, all callbacks should be under void OnStart() as well.

As for your issue with the item/note + sounds, use this callback:

SetEntityPlayerInteractCallback("NAMEOFITEM", "NAMEOFFUNCTION", true);


The callback syntax for this function is "(string &in asEntity)'

Hope that helped.

I rate it 3 memes.
07-24-2012, 03:06 AM
Find


Messages In This Thread
RE: still having script problem and a simple question - by Adny - 07-24-2012, 03:06 AM



Users browsing this thread: 1 Guest(s)