Arma 3 Scripting

Command in Conversations

kbAddTopic

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

Description

Register conversation topic to given person. See Conversations for more details.

Note

Only the speaker(s) need to have the topic added.

Syntax

person kbAddTopic [topicName, conversationFile, fsmFile, eventHandler]

Parameters:

Returns: Nothing

Examples

Example 1

player kbAddTopic ["myTest", "myTest.bikb", "myTest.fsm", compile preprocessFileLineNumbers "myTest.sqf"];

Example 2

player kbAddTopic ["itsGettingWarm", "weatherTalk.bikb"];

See also

Conversations · kbHasTopic · kbTell · kbWasSaid · kbReact · kbRemoveTopic · kbAddDatabase · kbAddDatabaseTargets · FSM · FSM Editor