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
sound problems
THE/ILL/WILL Offline
Junior Member

Posts: 11
Threads: 4
Joined: Dec 2010
Reputation: 0
#11
RE: sound problems

so i rewrote all the stuff like this and now its giveing me ( errors. i think im grouping wrong anyone have some pointers?
////////////////////////////
// Run first time starting map
void OnStart()
{

{
AddUseItemCallback( "", "DoorKey_1", "Door_3", "UseKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Door_3", false, true);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
RemoveItem("DoorKey_1");
}
{
[color=#FFD700]AddEntityCollideCallback("Player", "doorslam_1","Collidedoorslam", true, -1);
}
void Collidedoorslam(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("Room_2", true, true);
PlaySoundAtEntity("", "amb_hunt01", "Player", 0, false);
}
{
AddEntityCollideCallback("Player", "Unlock_1","Room2Unlock", true, 1);
}
void Room2Unlock(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorLocked("Room_2", true, true);
PlaySoundAtEntity("", "unlock_door", "Player", 0, false);
}

}
12-02-2010, 03:02 AM
Find


Messages In This Thread
sound problems - by THE/ILL/WILL - 12-01-2010, 07:44 PM
RE: sound problems - by Frontcannon - 12-01-2010, 07:56 PM
RE: sound problems - by THE/ILL/WILL - 12-01-2010, 08:22 PM
RE: sound problems - by LoneWolf - 12-01-2010, 08:27 PM
RE: sound problems - by THE/ILL/WILL - 12-01-2010, 08:34 PM
RE: sound problems - by Frontcannon - 12-01-2010, 08:47 PM
RE: sound problems - by THE/ILL/WILL - 12-01-2010, 08:58 PM
RE: sound problems - by Frontcannon - 12-01-2010, 09:13 PM
RE: sound problems - by THE/ILL/WILL - 12-01-2010, 10:01 PM
RE: sound problems - by Frontcannon - 12-01-2010, 10:07 PM
RE: sound problems - by THE/ILL/WILL - 12-02-2010, 03:02 AM
RE: sound problems - by Oscar House - 12-02-2010, 03:49 PM
RE: sound problems - by Akumasama - 12-02-2010, 04:04 PM



Users browsing this thread: 1 Guest(s)