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
Sound not playing at the right times
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#3
RE: Sound not playing at the right times

Use that instead of CallEntityCallbackFunc

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

Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity)

asName - internal name
asCallback - function to call
abRemoveOnInteraction - determines whether the callback should be removed when the player interacts with the entity

The Interrogation
Chapter 1

My tutorials
08-28-2011, 08:55 PM
Find


Messages In This Thread
Sound not playing at the right times - by ZRPT - 08-28-2011, 11:40 AM
RE: Sound not playing at the right times - by Elven - 08-28-2011, 08:55 PM



Users browsing this thread: 1 Guest(s)