Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with sounds!
Cgturner Offline
Junior Member

Posts: 28
Threads: 7
Joined: Sep 2010
Reputation: 0
#14
RE: Help with sounds!

Here's what I've got:
void Collideopendoor(string &in asParent, string &in asChild, int alState)
{
    PlaySoundAtEntity("open", "door_level_wood_open.snt", "castle_arched01_1", 1, true);
    SetSwingDoorDisableAutoClose("castle_arched01_1", true);
    AddPropImpulse("castle_arched01_1", 0.0f, 0.0f, -1.0f, "prop");
}

The sound plays correctly, but the door remains closed.

EDIT:
Well I've manipulated that code as much as possible, and the door still remains shut. What is supposed to be done? Is it something with the "prop" variable?
09-17-2010, 03:51 AM
Find


Messages In This Thread
Help with sounds! - by Cgturner - 09-16-2010, 07:42 PM
RE: Help with sounds! - by MulleDK19 - 09-16-2010, 07:54 PM
RE: Help with sounds! - by Armored Cow - 09-16-2010, 08:01 PM
RE: Help with sounds! - by Cgturner - 09-16-2010, 08:18 PM
RE: Help with sounds! - by MulleDK19 - 09-16-2010, 08:19 PM
RE: Help with sounds! - by Cgturner - 09-17-2010, 01:00 AM
RE: Help with sounds! - by MulleDK19 - 09-17-2010, 01:07 AM
RE: Help with sounds! - by Cgturner - 09-17-2010, 01:18 AM
RE: Help with sounds! - by MulleDK19 - 09-17-2010, 01:31 AM
RE: Help with sounds! - by Cgturner - 09-17-2010, 01:45 AM
RE: Help with sounds! - by Armored Cow - 09-17-2010, 02:11 AM
RE: Help with sounds! - by Cgturner - 09-17-2010, 03:21 AM
RE: Help with sounds! - by MulleDK19 - 09-17-2010, 03:25 AM
RE: Help with sounds! - by Cgturner - 09-17-2010, 03:51 AM
RE: Help with sounds! - by MulleDK19 - 09-17-2010, 04:06 PM
RE: Help with sounds! - by Cgturner - 09-17-2010, 03:56 PM
RE: Help with sounds! - by jens - 09-17-2010, 04:17 PM
RE: Help with sounds! - by Armored Cow - 09-17-2010, 04:04 PM
RE: Help with sounds! - by Cgturner - 09-17-2010, 04:25 PM
RE: Help with sounds! - by Cgturner - 09-18-2010, 06:58 AM
RE: Help with sounds! - by gosseyn - 09-18-2010, 07:19 AM
RE: Help with sounds! - by Cgturner - 09-18-2010, 07:51 AM



Users browsing this thread: 1 Guest(s)