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
HELP!!!
JPPSJ Offline
Junior Member

Posts: 20
Threads: 2
Joined: Apr 2012
Reputation: 0
#22
RE: HELP!!!

(04-17-2012, 01:14 AM)Putmalk Wrote: I'm sorry I don't quite understand your question.
Ok, i wont copy it. but is this the format?
void OnStart()
{
//player collide with slamdoor
AddEntityCollideCallback("Player", "AreaSlamDoor", "SlamDoor", true, 0);
}

void OnEnter()
{

}

void OnLeave()
{

}

void SlamDoor(string &in asParent, string &in asChild, int alState)
{
//slam door, with sound, effect, and sanity damage
SetSwingDoorLocked("mansion_1", true, true);
GiveSanityDamage(10, true);
PlaySoundAtEntity("doorslam", "15_slam_door.snt", "mansion_1", 0.4f, false);
}


04-17-2012, 01:18 AM
Find


Messages In This Thread
HELP!!! - by JPPSJ - 04-16-2012, 11:38 PM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:01 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:06 AM
RE: HELP!!! - by MrIcabod123 - 04-17-2012, 12:12 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:14 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:19 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:27 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:37 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:39 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:46 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:52 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:53 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 12:57 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 12:59 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:01 AM
RE: HELP!!! - by Xanthos - 04-17-2012, 01:00 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:02 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:08 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:11 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:13 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:14 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:18 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:28 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:27 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:33 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:39 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 01:45 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 01:46 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 02:02 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 02:05 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 02:15 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 02:23 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 03:00 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 03:54 AM
RE: HELP!!! - by Putmalk - 04-17-2012, 04:05 AM
RE: HELP!!! - by JPPSJ - 04-17-2012, 04:14 AM
RE: HELP!!! - by Putmalk - 04-18-2012, 02:16 AM
RE: HELP!!! - by jessehmusic - 04-18-2012, 12:23 PM



Users browsing this thread: 3 Guest(s)