say

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint: Resistance version 1.75

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint: Resistance
Version:
1.75

Description

Description:
Unit will say given sound.

When the Unit is a Person, it will also perform corresponding lipsync effect provided an appropriate .lip file has been created for this sound.

A unit that has been killed or does not exist will not say anything.

Compare this with playSound which will always play a sound at the location of the player.

If the camera is not within given range, title is not shown and the sound will not be heard.

Sound is defined in CfgSound of the Description.ext.

Syntax

Syntax:
Unit say [sound, maxTitlesDistance,speed]
Parameters:
sound: String
maxTitlesDistance: Number
speed: Number. Optional
Return Value:
Nothing

Examples

Example 1:
(units player select 1) say ["whisper1",5]

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!