Arma 3 Scripting

Command in Conversations

kbHasTopic

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

Description

Check if conversation topic was registered to given person. See Conversations for more details.

Syntax

person kbHasTopic topicName

Parameters:

Returns: Boolean

Examples

Example 1

_obiHasTopic = player kbHasTopic "helloThereGeneralK";

Example 2

if (player kbHasTopic "dontShoot") then { player kbRemoveTopic "dontShoot"; };

See also

Conversations · kbAddTopic · kbTell · kbReact · kbRemoveTopic · kbAddDatabase · kbAddDatabaseTargets · FSM · FSM Editor