Warning: file_put_contents(/ff_33980953a3db270af6122d083fcf018a1d0bd912f481f832.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
say - OFPEC Scripting Command Reference | OFPEC The Editing Center

unit or [unit, target] say speechName

Operand types

unit or [unit, target]: Object or Array
speechName: Array

Type of returned value

Description

The format of speechName is [sound, maxTitlesDistance] or [sound, maxTitlesDistance, speed].
The unit will play the given sound.
If the unit is a person, it will also perform the corresponding lipsync effect.
If the camera is not within the given range, the title is not shown.
The sound is defined in the description.ext file.
If target is given, titles will be written to the conversation history.

Used In

Arma2

Example

soldier1 say ["alarming", 2]

Advertisement