Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.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 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]

Advertisement