say2D: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
mNo edit summary |
||
Line 9: | Line 9: | ||
|eff= local |Multiplayer Effects= | |eff= local |Multiplayer Effects= | ||
|gr1= Sounds |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:32, 20 September 2020
Description
- Description:
- Plays given sound in 2D
- Groups:
- Sounds
Syntax 1
- Syntax:
- from say2D sound
- Parameters:
- from: Object - origin of the sound
- sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext
- Return Value:
- Nothing
Syntax 2
- Syntax:
- from say2D [sound, maxTitlesDistance, speed]
- Parameters:
- from: Object - origin of the sound
- [sound, maxTitlesDistance, speed]: Array
- sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext
- maxTitlesDistance: Number - max distance at which the sound can be heard. Default: 100 m.
- speed (Optional): Number - pitch of the sound. Default: 1.
- Return Value:
- Nothing
Syntax 3
- Syntax:
- [from, to] say2D sound
- Parameters:
- [from, to]: Array
- from: Object - origin of the sound
- to: Object - target
- sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext
- Return Value:
- Nothing
Syntax 4
- Syntax:
- [from, to] say2D [sound, maxTitlesDistance, speed]
- Parameters:
- [from, to]: Array
- from: Object - origin of the sound
- to: Object - target
- [sound, maxTitlesDistance, speed]: Array
- sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext
- maxTitlesDistance: Number - max distance at which the sound can be heard. Default: 100 m.
- speed (Optional): Number - pitch of the sound. Default: 1.
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- saysay3DplaySoundcreateSoundSource
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