Arma 3 Scripting

Command in Conversations

kbReact

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

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

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

Parameters:

Returns: Nothing

Examples

Example 1

// 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 · kbHasTopic · kbTell · kbWasSaid · kbRemoveTopic · kbAddDatabase · kbAddDatabaseTargets · FSM · FSM Editor