kbAddDatabase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|gr1= Conversations |GROUP1=
|game2= arma2oa
|version2= 1.50


|1.00|Game version=
|game3= tkoh
|version3= 1.00


| Register knowledge base database to given person. See [[Conversations]] for more details.
|game4= arma3
{{Important|This command is no longer available in {{arma2}} and {{arma3}}.}}|DESCRIPTION=
|version4= 0.50


| person [[kbAddDatabase]] fileName |SYNTAX=
|gr1= Conversations


|p1= person: [[Object]] |PARAMETER1=
|descr= Register knowledge base database to given person. See [[Conversations]] for more details.
{{Feature|important|This command is no longer available in {{arma2}} and {{arma3}}.}}


|p2= fileName: [[String]] |PARAMETER2=
|s1= person [[kbAddDatabase]] fileName


| [[Boolean]] |RETURNVALUE=
|p1= person: [[Object]]
 
|x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> |EXAMPLE1=


| [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] |SEEALSO=
|p2= fileName: [[String]]


}}
|r1= [[Boolean]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>_hasBeenAdded = _unit kbAddDatabase "chat.txt";</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[Conversations]] [[kbAddTopic]] [[kbHasTopic]] [[kbTell]] [[kbWasSaid]] [[kbReact]] [[kbRemoveTopic]] [[kbAddDatabaseTargets]] [[FSM]] [[FSM Editor]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
 
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23: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