Arma 3 Scripting

Function in Conversations

BIS_fnc_genericSentence

Also available as Markdown and JSON, or read the original wiki page.

Description

Play generic sentence with probablity set by bis_genericSentenceMode variable (0.5 = 50%, 1 = 100%)

Syntax

[class, speaker, delay, canRepeat] call BIS_fnc_genericSentence

Parameters:

Returns: Boolean - true if sentence was played

Examples

Example 1

["FeedbackFlightNegativeHeightTooHigh"] call BIS_fnc_genericSentence;

Example 2

["FeedbackFlightNegativeSpeedTooSlow",nil,5,true] call BIS_fnc_genericSentence;

See also

Generic Sentences