Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Why does PlaySound have a worldPosition argument?
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Ol1vver
- Superfighter
- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
Why does PlaySound have a worldPosition argument?
It doesn't affect anything from what I can see as a normal player.
0 x
- KliPeH
- Moderator
- Posts: 919
- Joined: Sat Mar 19, 2016 3:03 pm
- Title: [happy moth noises]
- SFD Account: KliPeH
- Started SFD: Pre-Alpha 1.4.2
- Gender:
- Contact:
I'm not very familiar with the Map Editor functions but I imagine you can use PlaySound as a source of ambient noise in specific areas like the boiler room in Hotel or Steamship which produces a buzzing sound as you get into it. Probably the same with wave sounds as you walk onto the deck etc.
0 x
- Ol1vver
- Superfighter
- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
Those are made with the SoundAreas. The sounds activate as soon as you walk into the area.KliPeH wrote: ↑Fri Jan 22, 2021 3:30 pmI'm not very familiar with the Map Editor functions but I imagine you can use PlaySound as a source of ambient noise in specific areas like the boiler room in Hotel or Steamship which produces a buzzing sound as you get into it. Probably the same with wave sounds as you walk onto the deck etc.
1 x
- Gurt
- Lead Programmer
- Posts: 1885
- Joined: Sun Feb 28, 2016 3:22 pm
- Title: Lead programmer
- Started SFD: Made it!
- Location: Sweden
- Gender:
- Age: 34
In case we ever wanted to implement pan for sounds from outside the camera. We never did so that's just a left over. It doesn't really do anything.
1 x
Gurt