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 Sound when picking up an item
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Sound when picking up an item

I guess it doesn't work because you are using the wrong callback

instead of SetEntityCallbackFunc use:

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

and then change the syntax on OnPickup to only (string &in asEntity)



02-08-2012, 08:38 PM
Find


Messages In This Thread
Sound when picking up an item - by Darkaroth - 02-08-2012, 05:29 PM
RE: Sound when picking up an item - by Ermu - 02-08-2012, 07:47 PM
RE: Sound when picking up an item - by Darkaroth - 02-08-2012, 08:22 PM
RE: Sound when picking up an item - by SilentStriker - 02-08-2012, 08:38 PM
RE: Sound when picking up an item - by Darkaroth - 02-08-2012, 08:57 PM



Users browsing this thread: 1 Guest(s)