kbAddDatabase: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) 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
Description
- Description:
- Register knowledge base database to given person. See Conversations for more details.
- 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