kbAddDatabase: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Lou Montana (talk | contribs) m (Add Conversations & seeAlso links) |
||
Line 1: | Line 1: | ||
{{Command|= Comments | {{Command|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 11: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Register knowledge base database to given person.|= Description | | Register knowledge base database to given person. See [[Conversations]] for more details. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | person [[kbAddDatabase]] fileName |= Syntax | ||
|p1= person: [[Object]] |= Parameter 1 | |p1= person: [[Object]] |= Parameter 1 | ||
|p2= | |p2= fileName: [[String]] |= Parameter 2 | ||
| [[Boolean]] |= Return value | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_hasBeenAdded = _unit [[kbAddDatabase]] "chat.txt"</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] |= See also | ||
}} | }} | ||
Line 38: | Line 34: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command Group: Conversations|{{uc:{{PAGENAME}}}}]] |
Revision as of 21:13, 27 March 2018
Description
- Description:
- Register knowledge base database to given person. See Conversations for more details.
- Groups:
- Uncategorised
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