User Tools

Site Tools


4rpl:commands:playsoundatposition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:playsoundatposition [2021/02/09 22:30] virgilw4rpl:commands:playsoundatposition [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 6: Line 6:
  
 ===== Description ===== ===== Description =====
-Plays a sound at the specified vector position in world coordinates.  The volume ranges from 0 to 1.\\ +Plays a sound at the specified vector position in world coordinates.  The volume ranges from 0.0 to 5.0.\\ 
-See [[PlaySound]] for a list of sounds.+See [[Sounds]] for a list of sounds.
  
 ===== Examples ===== ===== Examples =====
Line 13: Line 13:
 PlaySoundAtPosition("SoundName" 1 GetUnitPosition(self)) PlaySoundAtPosition("SoundName" 1 GetUnitPosition(self))
 </code> </code>
 +
 +==== See Also ====
 +There is a [[cw4:4rpl_tools#sound_player|sound sampler script]] in the [[cw4:4rpl_tools|Tools]] section of the wiki. 
 +
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/playsoundatposition.1612909847.txt.gz · Last modified: 2025/02/14 14:56 (external edit)