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
[SOLVED] Making closet doors slam up?
Linus Ågren Offline
Senior Member

Posts: 309
Threads: 58
Joined: Jan 2011
Reputation: 5
#4
RE: Making closet doors slam up?

Btw, I know practically nothing of coding in this lang (is it c++?). My code looks like this. Do I need any other code for the AddPropForce? Cause I'm not entirely sure how it works ^^

void CollideClosetScare(string &in asParent , string &in asChild , int alState)
{
GiveSanityDamage(6.0f, true);
PlaySoundAtEntity("Scare_1", "react_pant.snt", "Player", 0, true);
}

Creator of The Dark Treasure.
(This post was last modified: 01-21-2011, 04:49 PM by Linus Ågren.)
01-21-2011, 04:48 PM
Website Find


Messages In This Thread
RE: Making closet doors slam up? - by Shev - 01-21-2011, 03:55 PM
RE: Making closet doors slam up? - by Tanshaydar - 01-21-2011, 04:29 PM
RE: Making closet doors slam up? - by Linus Ågren - 01-21-2011, 04:48 PM
RE: Making closet doors slam up? - by Tanshaydar - 01-21-2011, 05:01 PM
RE: Making closet doors slam up? - by Tanshaydar - 01-21-2011, 06:50 PM
RE: Making closet doors slam up? - by Tanshaydar - 01-21-2011, 07:37 PM



Users browsing this thread: 4 Guest(s)