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
Script Help How to make interacting with locked door play a sound?
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#3
RE: How to make interacting with locked door play a sound?

PHP Code: (Select All)
void OnStart()
{
    
SetEntityPlayerInteractCallback("mansion_1""MonsterNoise"true);
}
void MonsterNoise(string &in asEntity)
{
    
PlaySoundAtEntity("""pounding_low""ScriptArea_monsterbang"0.0ffalse);


In Ruins [WIP]
03-17-2013, 07:02 PM
Find


Messages In This Thread
RE: How to make interacting with locked door play a sound? - by NaxEla - 03-17-2013, 07:02 PM



Users browsing this thread: 1 Guest(s)