say: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|Parameter[0-9]{1,}= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 67: | Line 67: | ||
|x2= Arma 3:<code>[[player]] [[say]] "scuba_breath";</code> | |x2= Arma 3:<code>[[player]] [[say]] "scuba_breath";</code> | ||
| [[say3D]], [[say2D]], [[playSound]], [[createSoundSource]] | |seealso= [[say3D]], [[say2D]], [[playSound]], [[createSoundSource]] | ||
}} | }} | ||
Revision as of 00:02, 17 February 2021
Description
- Description:
- Description needed
- Groups:
- Sounds
Syntax 1
- Syntax:
- Syntax needed
- Parameters:
- from: Object - origin of the sound
- sound: String - sound classname
- Return Value:
- Return value needed
Syntax 2
- Syntax:
- from say [sound, maxTitlesDistance, speed]
- Parameters:
- from: Object - origin of the sound
- sound: String - sound classname
- maxTitlesDistance: Number - max distance at which the sound can be heard. Default: 100 m.
- speed: Number - (Optional, default 1) pitch of the sound
- Return Value:
- Nothing
Syntax 3
- Syntax:
- [from, to] say sound
- Parameters:
- from: Object - origin of the sound
- to: Object - target
- sound: String - sound classname
- Return Value:
- Nothing
Syntax 4
- Syntax:
- [from, to] say [sound, maxTitlesDistance, speed]
- Parameters:
- from: Object - origin of the sound
- to: Object - target
- sound: String - sound classname
- maxTitlesDistance: Number - max distance at which the sound can be heard. Default: 100 m.
- speed: Number - (Optional, default 1) pitch of the sound.
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- say3Dsay2DplaySoundcreateSoundSource
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