kbAddDatabaseTargets: 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 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}}.}} | {{Important|This command is no longer available in {{arma2}} and {{arma3}}.}} | ||
| [[Boolean]] <nowiki>=</nowiki> person [[kbAddDatabaseTargets]] fileName | | [[Boolean]] <nowiki>=</nowiki> person [[kbAddDatabaseTargets]] fileName | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= fileName: [[String]] | |p2= fileName: [[String]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>_hasBeenAdded = _unit [[kbAddDatabaseTargets]] "chat.txt"</code> | |x1= <code>_hasBeenAdded = _unit [[kbAddDatabaseTargets]] "chat.txt"</code> | ||
| [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabase]], [[FSM]], [[FSM Editor]] | | [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabase]], [[FSM]], [[FSM Editor]] | ||
}} | }} |
Revision as of 01:03, 18 January 2021
Description
- Description:
- Register target list knowledge base database to given person. See Conversations for more details.
- 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