kbAddDatabaseTargets: 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 target list knowledge base database to given person. See [[Conversations]] for more details.
| Register target list 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=
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> person [[kbAddDatabaseTargets]] fileName |SYNTAX=
| [[Boolean]] <nowiki>=</nowiki> person [[kbAddDatabaseTargets]] fileName |SYNTAX=
Line 20: Line 17:


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


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

Revision as of 01:37, 17 January 2021

Hover & click on the images for description

Description

Description:
Register target list 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:
Boolean = person kbAddDatabaseTargets fileName
Parameters:
person: Object
fileName: String
Return Value:
Boolean

Examples

Example 1:
_hasBeenAdded = _unit kbAddDatabaseTargets "chat.txt"

Additional Information

See also:
ConversationskbAddTopickbHasTopickbTellkbWasSaidkbReactkbRemoveTopickbAddDatabaseFSMFSM 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