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
Script Help Interaction callback
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Interaction callback

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

source

Something like this:

PHP Code: (Select All)
OnStart () {
SetEntityPlayerInteractCallback "MyNote""NotePickedupFunction"True ); }

void NotePickedupFunction string &in asEntity )
GruntDance"MyGrunt" ); } 

(This post was last modified: 06-29-2013, 08:02 PM by Daemian.)
06-29-2013, 07:58 PM
Find


Messages In This Thread
Interaction callback - by VillainousPotato - 06-29-2013, 05:51 PM
RE: Interaction callback - by Daemian - 06-29-2013, 07:58 PM
RE: Interaction callback - by ClayPigeon - 06-29-2013, 08:06 PM
RE: Interaction callback - by Daemian - 06-30-2013, 05:27 AM
RE: Interaction callback - by Pshyched - 06-29-2013, 08:16 PM
RE: Interaction callback - by PutraenusAlivius - 06-30-2013, 05:59 AM
RE: Interaction callback - by VillainousPotato - 07-01-2013, 12:31 AM



Users browsing this thread: 1 Guest(s)