playSound3D
Jump to navigation
Jump to search
Description
- Description:
- Plays a sound with given filename. At least 2 parameters must be added.
- Groups:
- Uncategorised
Syntax
- Syntax:
- playSound3D [filename, source, isInside, position, volume, frequency, distance]
- Parameters:
- [filename, source, isInside, position, volume, frequency, distance]: Array
- filename: String
- source: Object
- isInside: Boolean
- position: Position
- volume: Number
- frequency: Number
- distance: Number - How far is sound audible (0 = no max distance).
- Return Value:
- Nothing
Examples
- Example 1:
playSound3D ["A3\Sounds_F\sfx\blip1.wav", player]
- Example 2:
playSound3D ["A3\Sounds_F\sfx\blip1.wav", player, false, getPos player, 1, 1, 0]
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note