kbAddDatabase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|1.00|Game version=
|1.00|Game version=
____________________________________________________________________________________________


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


| person [[kbAddDatabase]] fileName |SYNTAX=
| person [[kbAddDatabase]] fileName |SYNTAX=
Line 20: Line 17:


| [[Boolean]] |RETURNVALUE=
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> |EXAMPLE1=
|x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> |EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 01:39, 17 January 2021

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