kbAddDatabase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|gr1= Conversations |GROUP1=
|gr1= Conversations


|1.00|Game version=
|1.00


| 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}}.}}


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


|p1= person: [[Object]] |PARAMETER1=
|p1= person: [[Object]]


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


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


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


}}
}}

Revision as of 00:58, 18 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

Bottom Section