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
How to input sound?
fuytko Offline
Junior Member

Posts: 41
Threads: 6
Joined: Jun 2011
Reputation: 1
#5
RE: How to input sound?

It doesn't work Sad

I have this in my .HPS file from map

void PickLetter(string &in asEntity, string &in asType)
{
PlayMusic("Letter_01", false, 0.7f, 0, 10, false);
}
void EntryRoom(string &in asTimer) {
SetMessage("Inventory","LucasMysteryEnterRoom",0);
}
void OnStart()
{
AddTimer("startlv",5,"EntryRoom");
PlayMusic("10_amb.ogg", true, 80, 1, 0, false);
AddUseItemCallback("", "Key_Marnica_01", "castle_3", "UsedKeyOnDoor", true);
}

{
SetEntityPlayerInteractCallback("human_skull_1", "OnPickup", true);
}

void Function(string &in entity)
{
PlaySoundAtEntity("scare_walk_ghost", "scare_walk_ghost.snt", "human_skull_1", 0, false);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("castle_3", false, true);
PlaySoundAtEntity("", "unlock_door", "castle_3", 0, false);
RemoveItem("Key_Marnica_01");
}
06-28-2011, 07:03 PM
Find


Messages In This Thread
How to input sound? - by fuytko - 06-28-2011, 06:17 PM
RE: How to input sound? - by Tanshaydar - 06-28-2011, 06:34 PM
RE: How to input sound? - by fuytko - 06-28-2011, 06:53 PM
RE: How to input sound? - by Tanshaydar - 06-28-2011, 06:55 PM
RE: How to input sound? - by fuytko - 06-28-2011, 07:03 PM
RE: How to input sound? - by Tanshaydar - 06-28-2011, 07:09 PM
RE: How to input sound? - by fuytko - 06-28-2011, 07:26 PM
RE: How to input sound? - by Tanshaydar - 06-28-2011, 07:32 PM
RE: How to input sound? - by fuytko - 06-28-2011, 07:37 PM
RE: How to input sound? - by Tanshaydar - 06-28-2011, 07:41 PM
RE: How to input sound? - by xtron - 06-28-2011, 07:41 PM
RE: How to input sound? - by Tanshaydar - 06-28-2011, 07:43 PM
RE: How to input sound? - by xtron - 06-28-2011, 07:52 PM
RE: How to input sound? - by fuytko - 06-28-2011, 07:57 PM



Users browsing this thread: 1 Guest(s)