say: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 17: | Line 17: | ||
* See also [[playSound]] in order to play a sound wherever the [[cameraOn|camera/player]] is. | * See also [[playSound]] in order to play a sound wherever the [[cameraOn|camera/player]] is. | ||
{{Informative | [[say]] will mimic either [[say2D]] or [[say3D]] depending on whether it is there executed in a cutscene or in a game scene.}} | {{Feature | Informative | [[say]] will mimic either [[say2D]] or [[say3D]] depending on whether it is there executed in a cutscene or in a game scene.}} | ||
| from [[say]] sound | | from [[say]] sound |
Revision as of 00:12, 7 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:
- 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