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
Can anyone find the script error?
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Can anyone find the script error?

Check the script wiki. It's:

SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);

Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity)
asName - internal name
asCallback - function to call
abRemoveOnInteraction - determines whether the callback should be removed when the player interacts with the entity

[/color]

Trying is the first step to success.
(This post was last modified: 09-15-2012, 08:18 PM by FlawlessHappiness.)
09-15-2012, 08:17 PM
Find


Messages In This Thread
RE: Can anyone find the script error? - by FlawlessHappiness - 09-15-2012, 08:17 PM
RE: Can anyone find the script error? - by Wapez - 09-15-2012, 08:25 PM



Users browsing this thread: 1 Guest(s)