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
AddEntityCollideCallback FAIL
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#5
RE: AddEntityCollideCallback FAIL

(10-30-2011, 12:09 AM)Victor Wrote:
(10-29-2011, 11:31 PM)devin413 Wrote: ////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "bottlescare", "BottleFunc1", true, 1);
}

void BottleFunc1(string &in asParent, string &in asChild, int alState)
{
AddPropForce("wine01_1", -8.738, 0.945, -8.775, "world");
SetSwingDoorClosed("mansion_1", true, true);
PlaySoundAtEntity("", "general_thunder8", "Player", 0, false);
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);
GiveSanityDamage(7.0f, true);
}


you forgot (string &in asParent, string &in asChild, int alState)

np dude ^^
Wasn't working WITH this, so I tried to take it off, but... this isn't the problem.
You need "(string &in asParent, string &in asChild, int alState)"...don't take it off.

10-30-2011, 12:32 AM
Find


Messages In This Thread
AddEntityCollideCallback FAIL - by Victor - 10-29-2011, 10:35 PM
RE: AddEntityCollideCallback FAIL - by devin413 - 10-29-2011, 11:31 PM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 12:09 AM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-30-2011, 12:32 AM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 01:52 AM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-30-2011, 12:06 AM
RE: AddEntityCollideCallback FAIL - by Apjjm - 10-30-2011, 03:36 AM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-30-2011, 03:51 AM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 02:13 PM
RE: AddEntityCollideCallback FAIL - by flamez3 - 10-31-2011, 01:14 AM
RE: AddEntityCollideCallback FAIL - by devin413 - 10-30-2011, 02:18 AM
RE: AddEntityCollideCallback FAIL - by MrBigzy - 10-30-2011, 03:00 AM
RE: AddEntityCollideCallback FAIL - by Victor - 10-30-2011, 03:13 AM
RE: AddEntityCollideCallback FAIL - by Laurensman - 11-01-2011, 11:37 PM



Users browsing this thread: 1 Guest(s)