kbAddDatabaseTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Register target list knowledge base database to given person. See [[Conversations]] for more details.
|game3= tkoh
{{arma2-obsolete}}
|version3= 1.00
{{arma3-obsolete}} |DESCRIPTION=
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> person [[kbAddDatabaseTargets]] fileName |SYNTAX=
|game4= arma3
|version4= 0.50


|p1= person: [[Object]] |PARAMETER1=
|gr1= Conversations


|p2= fileName: [[String]] |PARAMETER2=
|descr= Register target list knowledge base database to given person. See [[Conversations]] for more details.
{{Feature|important|This command is no longer available in {{arma2}} and {{arma3}}.}}


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


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


}}
|p2= fileName: [[String]]


<h3 style="display:none">Notes</h3>
|r1= [[Boolean]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_hasBeenAdded = _unit kbAddDatabaseTargets "chat.txt";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Conversations]] [[kbAddTopic]] [[kbHasTopic]] [[kbTell]] [[kbWasSaid]] [[kbReact]] [[kbRemoveTopic]] [[kbAddDatabase]] [[FSM]] [[FSM Editor]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Conversations|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22:42, 28 June 2022

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:
person kbAddDatabaseTargets fileName
Parameters:
person: Object
fileName: String
Return Value:
Boolean

Examples

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

Additional Information

See also:
Conversations kbAddTopic kbHasTopic kbTell kbWasSaid kbReact kbRemoveTopic kbAddDatabase FSM FSM 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