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


Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem with playing sound on pickup! Please help!
Post: RE: Problem with playing sound on pickup! Please h...

(02-21-2012, 09:14 PM)Your Computer Wrote: (02-21-2012, 08:56 PM)Zebraa Wrote: Yes. I save the changes, open Amnesia then the map but the sound doesn't play. Okay, i rechecked the code, and i'm go...
Zebraa Development Support 16 13,244 02-22-2012, 08:43 AM
    Thread: Problem with playing sound on pickup! Please help!
Post: RE: Problem with playing sound on pickup! Please h...

(02-21-2012, 08:43 PM)Your Computer Wrote: (02-21-2012, 08:40 PM)Zebraa Wrote: Where is the debug menu in HPL Level Editor? It's a feature of the game, not the level editor. You are testing the so...
Zebraa Development Support 16 13,244 02-21-2012, 08:56 PM
    Thread: Problem with playing sound on pickup! Please help!
Post: RE: Problem with playing sound on pickup! Please h...

(02-21-2012, 07:06 PM)Your Computer Wrote: When the game is confronted with two or more files that bear the same name, it picks the first one it finds and ignores the rest. So, there is no need to p...
Zebraa Development Support 16 13,244 02-21-2012, 08:40 PM
    Thread: Problem with playing sound on pickup! Please help!
Post: RE: Problem with playing sound on pickup! Please h...

(02-21-2012, 06:51 PM)Juby Wrote: Okay, I noticed something, the sound you want played won't work because there are multiple "amb_alert.snt" files. The reason it won't play is because the game can't...
Zebraa Development Support 16 13,244 02-21-2012, 07:00 PM
    Thread: Problem with playing sound on pickup! Please help!
Post: RE: Problem with playing sound on pickup! Please h...

(02-21-2012, 06:37 PM)Juby Wrote: This is one way to do what you want. void OnStart() { SetEntityPlayerInteractCallback("LanternName", "PickedUpLantern", true); } void PickedUpLantern(string &am...
Zebraa Development Support 16 13,244 02-21-2012, 06:43 PM
    Thread: Problem with playing sound on pickup! Please help!
Post: RE: Problem with playing sound on pickup! Please h...

(02-21-2012, 05:45 PM)Obliviator27 Wrote: For starters, PlaySoundOnPickup isn't a proper function. Use SetEntityPlayerInteractCallback instead.Thanks I'm pretty new to script and when I was trying...
Zebraa Development Support 16 13,244 02-21-2012, 06:06 PM
    Thread: Problem with playing sound on pickup! Please help!
Post: Problem with playing sound on pickup! Please help!

Hello, I am working on a custom map and I'm trying to get a sound to play when the lantern is picked up. Could someone please help. Here's my .HPS file: Code:void OnStart() { PlaySoundOnPickup("amb_a...
Zebraa Development Support 16 13,244 02-21-2012, 05:40 PM