Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stupid monster...
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#10
RE: Stupid monster...

Add a callback function for the note:

void OnStart() { SetEntityCallbackFunc("yournote", "NoteCallback"); }


void NoteCallback(string &in entity, string &in type)
{
if(type == "OnPickup") { //do cool stuff here }
}



07-16-2011, 05:33 AM
Find


Messages In This Thread
Stupid monster... - by christopher231 - 07-14-2011, 05:01 AM
RE: Stupid monster... - by waqas12346 - 07-14-2011, 09:58 AM
RE: Stupid monster... - by palistov - 07-14-2011, 11:07 AM
RE: Stupid monster... - by christopher231 - 07-14-2011, 03:31 PM
RE: Stupid monster... - by palistov - 07-14-2011, 03:42 PM
RE: Stupid monster... - by Hardarm - 07-14-2011, 03:56 PM
RE: Stupid monster... - by christopher231 - 07-14-2011, 04:35 PM
RE: Stupid monster... - by Roenlond - 07-14-2011, 04:54 PM
RE: Stupid monster... - by christopher231 - 07-16-2011, 03:45 AM
RE: Stupid monster... - by palistov - 07-16-2011, 05:33 AM
RE: Stupid monster... - by christopher231 - 07-19-2011, 11:43 AM
RE: Stupid monster... - by MrCookieh - 07-19-2011, 02:59 PM



Users browsing this thread: 3 Guest(s)