kbAddDatabase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
Line 26: Line 26:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <sqf>_hasBeenAdded = _unit kbAddDatabase "chat.txt"</sqf>
|x1= <sqf>_hasBeenAdded = _unit kbAddDatabase "chat.txt";</sqf>


|seealso= [[Conversations]] [[kbAddTopic]] [[kbHasTopic]] [[kbTell]] [[kbWasSaid]] [[kbReact]] [[kbRemoveTopic]] [[kbAddDatabaseTargets]] [[FSM]] [[FSM Editor]]
|seealso= [[Conversations]] [[kbAddTopic]] [[kbHasTopic]] [[kbTell]] [[kbWasSaid]] [[kbReact]] [[kbRemoveTopic]] [[kbAddDatabaseTargets]] [[FSM]] [[FSM Editor]]
}}
}}

Latest revision as of 22:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Register knowledge base database to given person. See Conversations for more details.
This command is no longer available in Arma 2 and Arma 3.
Groups:
Conversations

Syntax

Syntax:
person kbAddDatabase fileName
Parameters:
person: Object
fileName: String
Return Value:
Boolean

Examples

Example 1:
_hasBeenAdded = _unit kbAddDatabase "chat.txt";

Additional Information

See also:
Conversations kbAddTopic kbHasTopic kbTell kbWasSaid kbReact kbRemoveTopic kbAddDatabaseTargets FSM FSM Editor

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note