Arma 3 Scripting

kbHasTopic

  • Local argument
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · 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