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
[Solved]Playing sound after exiting letter
Omenapuu Offline
Junior Member

Posts: 31
Threads: 8
Joined: Oct 2013
Reputation: 1
#1
[Solved]Playing sound after exiting letter

Hello! So basically I want to play this sound after the player closes the letter after opening and reading it. Right now it plays immediately after opening it, since it's set to do so when the player interacts with the letter. I don't see a smart way of using timers here, since people have different reading speeds etc.

ATTENTION: I noticed that it plays after closing when using the "PlaySoundAtEntity" instead of "PlayGuiSound". The problem here is that the sound plays too quietly which is why I would like to use "PlayGuiSound".
(This post was last modified: 10-02-2016, 10:32 AM by Omenapuu.)
09-30-2016, 09:26 PM
Find


Messages In This Thread
[Solved]Playing sound after exiting letter - by Omenapuu - 09-30-2016, 09:26 PM



Users browsing this thread: 1 Guest(s)