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
Gandalf's scripting questions thread
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#12
RE: Gandalf's scripting questions thread

In the wiki you got following:
/**
* Callback syntax: MyFunc(string &in entity)
*/
void  SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);
/**

The commented line shows you what your formal function parameters have to look like. In this case, when using SetEntityPlayerInteractCallback, you will need a function

void CorridorScream(string &in entity) {
}

Always take a look at the scripting functions. Wink

(This post was last modified: 03-06-2011, 01:10 AM by Pandemoneus.)
03-06-2011, 01:10 AM
Find


Messages In This Thread
RE: Gandalf's scripting questions thread - by Pandemoneus - 03-06-2011, 01:10 AM



Users browsing this thread: 1 Guest(s)