User Tools

Site Tools


crpl:docs:playsound

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
crpl:docs:playsound [2015/03/25 21:44] – multiple changes warrencrpl:docs:playsound [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
  
 === Description === === Description ===
-Plays a sound.  The list of available sound names can be found in the game by clicking the "Sound" button on the unit editing panel.  Here, sounds can be sampled as well.  Note that a sound play asynchronously.  Multiple sounds can be played at the same time and will overlap.  No given sound can be played within 0.1 seconds of itself, though.  When playing sounds in custom maps, take care to select those that fit the action and are not overly annoying.+Plays a sound.  The list of available sound names can be found in the game by clicking the "Sound" button on the unit editing panel.  Here, sounds can be sampled as well.  
  
-Names are not case sensitive.+Note that sounds play asynchronously - multiple sounds can be played at the same time and will overlap, with one limitation - no given sound can be played within 0.1 seconds of itself.  When playing sounds in custom maps, take care to select those that fit the action and are not overly annoying. 
 + 
 +Names are **case sensitive**.
  
 Sounds are:  Sounds are: 
Line 31: Line 33:
   * "UnitExplosion"   * "UnitExplosion"
   * "UnitLand"   * "UnitLand"
-  * "UnitTakeoff"+  * "UnitTakeOff"
   * "UnitPlaced"   * "UnitPlaced"
   * "ErrorBeep"   * "ErrorBeep"
crpl/docs/playsound.1427319867.txt.gz · Last modified: 2025/02/14 14:56 (external edit)