| audio_play_id(audio_id[, type_name[, blocking]]) |
|
| Parameters: |
| audio_id | | (integer) ID of sound to play |
| type_name | | (string, optional) name of audio source (can be "foley", "voice", "music", or "ambient"; defaults to "foley") |
| blocking | | (boolean, optional) set to true if the function should block until the sound has finished playing (defaults to false) |
| |
| Returns: |
| (integer) audio instance handle, or -1 on error |
|
| Description: |
| Play a 2D sound (by ID). |
| |
|
| back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |