The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Whats wrong with this sound
savior10946 Offline
Junior Member

Posts: 8
Threads: 7
Joined: Mar 2011
Reputation: 0
#1
Whats wrong with this sound

void OnStart()
{
AddEntityCollideCallback("Player" , "room_1" , "Collidedoor_1" , true , 0);
}

void Collidedoor_1(string &in asParent , string &in asChild , int alState)
{
SetSwingDoorLocked("door_1", true, true);
PlaySoundAtEntity("", "react_breath1", "Player", 0.0f, false);
}

it wont play the sound when the door slams shut.Whats wrong with it?
04-01-2011, 04:47 AM
Find


Messages In This Thread
Whats wrong with this sound - by savior10946 - 04-01-2011, 04:47 AM
RE: Whats wrong with this sound - by Anxt - 04-01-2011, 05:17 AM
RE: Whats wrong with this sound - by MrBigzy - 04-01-2011, 05:32 AM
RE: Whats wrong with this sound - by jens - 04-01-2011, 06:52 AM



Users browsing this thread: 1 Guest(s)