kbAddDatabase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add Conversations & seeAlso links)
Line 1: Line 1:
[[Category:Scripting Commands|KBADDDATABASE]]
[[Category:Scripting Commands ArmA|KBADDDATABASE]]
[[Category:Scripting Commands ArmA2|KBADDDATABASE]]
{{Command|= Comments
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 11: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Register knowledge base database to given person.|= Description
| Register knowledge base database to given person. See [[Conversations]] for more details. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> person '''kbAddDatabase''' filename |= Syntax
| person [[kbAddDatabase]] fileName |= Syntax


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


|p2= filename: [[String]] |= Parameter 2
|p2= fileName: [[String]] |= Parameter 2


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


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


}}
}}
Line 38: Line 34:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Conversations|{{uc:{{PAGENAME}}}}]]

Revision as of 21:13, 27 March 2018

Hover & click on the images for description

Description

Description:
Register knowledge base database to given person. See Conversations for more details.
Groups:
Uncategorised

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:
ConversationskbAddTopickbHasTopickbTellkbWasSaidkbReactkbRemoveTopickbAddDatabaseTargetsFSMFSM 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

Notes

Bottom Section