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
Script Help Make a sound play when you pick up a note
Iyiyt Offline
Junior Member

Posts: 13
Threads: 5
Joined: Jul 2012
Reputation: 0
#1
Make a sound play when you pick up a note

Hi. I'm kind of new at scripting things for Amnesia, but I've been doing okay so far thanks to the Frictional Wiki. However, I want to have a sound play when the player picks up a note and I can't figure out how to do that. I checked the Wiki and it didn't seem to have anything helpful. Can anyone tell me what to do? I would doubly appreciate it if you could just give me an outline so I can fill in the blanks myself with the sound files and such.

The only thing I could think of was something like "SetEntityPlayerInteractCallback("Note", "PlaySoundfile", true);.", but that didn't work.
(This post was last modified: 07-21-2012, 09:14 AM by Iyiyt.)
07-21-2012, 09:04 AM
Find


Messages In This Thread
Make a sound play when you pick up a note - by Iyiyt - 07-21-2012, 09:04 AM



Users browsing this thread: 1 Guest(s)