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
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#3
RE: Interaction callback

I'm quite sure interaction callbacks don't work with notes, and you have to use itemcallbacks.

PHP Code: (Select All)
void OnStart()
{
   
SetEntityCallbackFunc("note""pickup");
}

void pickup(string &in entstring &in t)
{
    if(
== "OnPickup")
    {
        
//Stuff
    
}

(This post was last modified: 06-29-2013, 08:09 PM by ClayPigeon.)
06-29-2013, 08:06 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)