kbAddDatabaseTargets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00
 
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Conversations
|gr1= Conversations


|1.00
|descr= 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.
{{Feature|important|This command is no longer available in {{arma2}} and {{arma3}}.}}
{{Feature|important|This command is no longer available in {{arma2}} and {{arma3}}.}}


| person [[kbAddDatabaseTargets]] fileName
|s1= person [[kbAddDatabaseTargets]] fileName


|p1= person: [[Object]]
|p1= person: [[Object]]
Line 16: Line 24:
|p2= fileName: [[String]]
|p2= fileName: [[String]]


|r1=[[Boolean]]
|r1= [[Boolean]]


|x1= <code>_hasBeenAdded = _unit [[kbAddDatabaseTargets]] "chat.txt"</code>
|x1= <sqf>_hasBeenAdded = _unit kbAddDatabaseTargets "chat.txt";</sqf>


|seealso= [[Conversations]], [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbWasSaid]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabase]], [[FSM]], [[FSM Editor]]
|seealso= [[Conversations]] [[kbAddTopic]] [[kbHasTopic]] [[kbTell]] [[kbWasSaid]] [[kbReact]] [[kbRemoveTopic]] [[kbAddDatabase]] [[FSM]] [[FSM Editor]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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