kbAddDatabase: Difference between revisions

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


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


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Register knowledge base database to given person. See [[Conversations]] for more details.
|game3= tkoh
{{arma2-obsolete}}
|version3= 1.00
{{arma3-obsolete}}|= Description
____________________________________________________________________________________________


| person [[kbAddDatabase]] fileName |= Syntax
|game4= arma3
|version4= 0.50


|p1= person: [[Object]] |= Parameter 1
|gr1= Conversations


|p2= fileName: [[String]] |= Parameter 2
|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}}.}}


| [[Boolean]] |= Return value
|s1= person [[kbAddDatabase]] fileName
____________________________________________________________________________________________
 
|x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> |= Example 1
____________________________________________________________________________________________


| [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] |= See also
|p1= person: [[Object]]


}}
|p2= fileName: [[String]]


<h3 style="display:none">Notes</h3>
|r1= [[Boolean]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_hasBeenAdded = _unit kbAddDatabase "chat.txt";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Conversations]] [[kbAddTopic]] [[kbHasTopic]] [[kbTell]] [[kbWasSaid]] [[kbReact]] [[kbRemoveTopic]] [[kbAddDatabaseTargets]] [[FSM]] [[FSM Editor]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Conversations|{{uc:{{PAGENAME}}}}]]

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