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
Is there a way to stop a looping sound?
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Is there a way to stop a looping sound?

How are you playing the looping sound? Via the editor or via script? If script, you must simply give the internal name of the sound you started in the stop script for it to find it. Remember to actually include a name in the start script, otherwise you can't stop it.

If you started it via the editor "Sound" object, then I'm not certain if it has a default name you can stop via script or not, but if you only want it to play once and never loop, you can copy the .snt file and edit it to be loop="false", then use that in your story instead.

03-27-2018, 11:25 AM
Find


Messages In This Thread
RE: Is there a way to stop a looping sound? - by Mudbill - 03-27-2018, 11:25 AM



Users browsing this thread: 1 Guest(s)