Changes

5 bytes added ,  23:52, 18 October 2021
Added "Nearby"
Line 118: Line 118:  
<dt><tt>playSoundAt</tt></dt>
 
<dt><tt>playSoundAt</tt></dt>
 
<dd>
 
<dd>
Like <tt>localSoundAt</tt>, this method can be used to play sounds spatially, and will adjust the played sound's volume and position based on its proximity from the player. A player will not hear any sound played from this method if the provided position is off-screen:
+
Like <tt>localSoundAt</tt>, this method can be used to play sounds spatially, and will adjust the played sound's volume and position based on its proximity from a nearby player. A player will not hear any sound played from this method if the provided position is off-screen:
 
<syntaxhighlight lang="c#">
 
<syntaxhighlight lang="c#">
 
// The sound code for when Clint is metalworking in the Blacksmith.
 
// The sound code for when Clint is metalworking in the Blacksmith.
41

edits