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
Darkaroth Offline
Junior Member

Posts: 11
Threads: 2
Joined: Feb 2012
Reputation: 0
#5
RE: Sound when picking up an item

(02-08-2012, 08:38 PM)SilentStriker Wrote: 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)
Will try thanks !

02-08-2012, 08:57 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 Darkaroth - 02-08-2012, 08:57 PM



Users browsing this thread: 1 Guest(s)