unit say speechName

Operand types

unit: Object
speechName: Array

Type of returned value

Description

Format of speechName is [sound, maxTitlesDistance].
Unit will play given sound.
When unit is person, it will also perform corresponding lipsync effect.
If camera is not within given range, title is not shown.
Sound is defined in description.ext.

Used In

OFP/ArmA

Example

soldier1 say ["alarming", 2]
Search OFPEC COMREF