---
name: "BIS_fnc_genericSentence"
type: function
status: ok
groups: ["Conversations"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_genericSentence
revid: 329652
updated: 2022-08-01T00:38:41Z
---

# BIS_fnc_genericSentence

*Function · Conversations · Arma 3 v0.50 · introduced in Take On Helicopters v1.00*

## Description

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

## Syntax

```sqf
[class, speaker, delay, canRepeat] call BIS_fnc_genericSentence
```

**Parameters:**

- `class`: [String](../topics/String.md) - sentence name (from *class RadioProtocol_EN_H*)
- `speaker`: [Object](../topics/Object.md) or [Code](../topics/Code.md) - (Optional) sentence speaker (when code, speaker is it is returned value). Default is 2nd [crew](../commands/crew.md) member.
- `delay`: [Number](../topics/Number.md) - (Optional) delay from previous generic sentence: When negative, sentence is played always.
- `canRepeat`: [Boolean](../topics/Boolean.md) - (Optional) true to allow repeating same sentence

**Returns:** [Boolean](../topics/Boolean.md) - true if sentence was played

## Examples

### Example 1

```sqf
["FeedbackFlightNegativeHeightTooHigh"] call BIS_fnc_genericSentence;
```

### Example 2

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

## See also

Generic Sentences

<sub>Source: [BI Community Wiki — BIS fnc genericSentence](https://community.bistudio.com/wiki/BIS_fnc_genericSentence) (revision 329652).</sub>
