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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to trigger sounds, entities etc.
ZodiaC Offline
Member

Posts: 120
Threads: 8
Joined: Oct 2012
Reputation: 2
#3
RE: How to trigger sounds, entities etc.

Void OnStart
{
AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);
}

void MyFunc(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);
}

Just make the appropriate changes.

[Image: 2H1Mc.jpg]
11-06-2012, 08:41 PM
Find


Messages In This Thread
RE: How to trigger sounds, entities etc. - by ZodiaC - 11-06-2012, 08:41 PM



Users browsing this thread: 1 Guest(s)