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
I want the player to react to a door that closes.
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#4
RE: I want the player to react to a door that closes.

GiveSanityDamage(float afAmount, bool abUseEffect);

Make sure the bool is true.

And also,

PlaySoundAtEntity("ScriptArea_2", "react_scare.snt", "ScriptArea_2", 0, false);

If you wanted to play that so it seems like it's coming from the player, change it to

PlaySoundAtEntity("ScriptArea_2", "react_scare.snt", "Player", 0, false);
(This post was last modified: 04-03-2011, 10:42 PM by Russ Money.)
04-03-2011, 10:42 PM
Find


Messages In This Thread
RE: I want the player to react to a door that closes. - by Russ Money - 04-03-2011, 10:42 PM



Users browsing this thread: 1 Guest(s)