kbAddDatabase: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma2 | | arma2 | ||
|gr1= Conversations | |gr1= Conversations | ||
|1.00 | |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}}.}} | {{Important|This command is no longer available in {{arma2}} and {{arma3}}.}} | ||
| person [[kbAddDatabase]] fileName | | person [[kbAddDatabase]] fileName | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= fileName: [[String]] | |p2= fileName: [[String]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> | |x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> | ||
| [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] | | [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] | ||
}} | }} |
Revision as of 00:58, 18 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