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
ITS NOT WORKING!
Dutton Offline
Member

Posts: 121
Threads: 3
Joined: Apr 2012
Reputation: 2
#4
RE: ITS NOT WORKING!

What was the problem?

i just made a small test map with following code:

void OnStart()
{
AddEntityCollideCallback("Player", "jumpscare1", "BruteFunc", true, 1);
}

void BruteFunc(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "hurt_pant.snt", "Player", 0, false);
SetEntityActive("brutescare", true);
}

and it worked perfectly :p

[Image: 15isy6C]
06-25-2012, 10:27 AM
Find


Messages In This Thread
ITS NOT WORKING! - by Jagsrs28 - 06-25-2012, 09:34 AM
RE: ITS NOT WORKING! - by Dutton - 06-25-2012, 09:50 AM
RE: ITS NOT WORKING! - by Jagsrs28 - 06-25-2012, 09:55 AM
RE: ITS NOT WORKING! - by Dutton - 06-25-2012, 10:27 AM
RE: ITS NOT WORKING! - by Jagsrs28 - 06-25-2012, 10:35 AM



Users browsing this thread: 2 Guest(s)