---
name: "kbReact"
type: command
status: ok
groups: ["Conversations"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/kbReact
revid: 351315
updated: 2023-11-27T04:58:35Z
---

# kbReact

*Command · Conversations · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **global** · effect **local**

## Description

Pass a non-verbal communication to the receiver. This command does **as if** the sentence was said and triggers the reaction scripts (AI FSM or player's conversation EH). See Conversations for more details.

## Syntax

```sqf
person kbReact [receiver, topicName, sentenceID, argumentArray1, argumentArray2, ...]
```

**Parameters:**

- `person`: [Object](../topics/Object.md)
- `receiver`: [Object](../topics/Object.md)
- `topicName`: [String](../topics/String.md)
- `sentenceID`: [String](../topics/String.md)
- `argumentArrayN`: [Array](../topics/Array.md) - (Optional) in format [argumentName, argumentValue, argumentText, argumentSpeech]:
  - argumentName: [String](../topics/String.md)
  - argumentValue: [Code](../topics/Code.md)
  - argumentText: [String](../topics/String.md)
  - argumentSpeech: [Array](../topics/Array.md) of [String](../topics/String.md)s - each string is an already defined word in config.

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
// will trigger AS IF unit1 said the sentence (via kbTell)
// unit2's FSM will react accordingly.
unit1 kbReact [unit2, "topicName", "speech1"];
```

## See also

Conversations · [kbAddTopic](../commands/kbAddTopic.md) · [kbHasTopic](../commands/kbHasTopic.md) · [kbTell](../commands/kbTell.md) · [kbWasSaid](../commands/kbWasSaid.md) · [kbRemoveTopic](../commands/kbRemoveTopic.md) · [kbAddDatabase](../commands/kbAddDatabase.md) · [kbAddDatabaseTargets](../commands/kbAddDatabaseTargets.md) · FSM · FSM Editor

<sub>Source: [BI Community Wiki — kbReact](https://community.bistudio.com/wiki/kbReact) (revision 351315).</sub>
