playSound3D [filename, sound source, isInside, sound position, volume, sound pitch, distance]
Operand types
[filename, sound source, isInside, sound position, volume, sound pitch, distance] :
Array
Type of returned value
Description
Plays positional sound with given filename on every computer on network. At least 2 parameters must be specified.
- filename: String
- sound source: Object - the object emitting the sound. If "sound position" is specified this param is ignored
- isInside: Boolean (optional) Default: false
- sound position: Position (optional) - position for sound emitter, will override "sound source" position. Default: [0,0,0]
- volume: Number (optional) Default: 1
- sound pitch: Number (optional) - 1: Normal, 0.5: Darth Vader, 2: Chipmunks, etc. Default: 1
- distance: Number (optional) - How far is sound audible (0 = no max distance) Default: 0.
Used In
Arma3
Example
There are no examples for this command