{"name":"kbAddDatabaseTargets","operator":null,"title":"kbAddDatabaseTargets","type":"command","url":"https://community.bistudio.com/wiki/kbAddDatabaseTargets","revid":322928,"updated":"2022-06-28T21:42:40Z","groups":["Conversations"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Register target list knowledge base database to given person. See Conversations for more details.\n\n> [!IMPORTANT]\n> This command is no longer available in Arma 2 and Arma 3.","syntaxes":[{"syntax":"person kbAddDatabaseTargets fileName","since":null,"effect":null,"exec":null,"params":[{"name":"person","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"person: Object"},{"name":"fileName","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"fileName: String"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"binary","operator":null,"left":{"text":"person","types":["Object"]},"right":{"text":"fileName","types":["String"]}}],"examples":[{"text":"```sqf\n_hasBeenAdded = _unit kbAddDatabaseTargets \"chat.txt\";\n```","code":["_hasBeenAdded = _unit kbAddDatabaseTargets \"chat.txt\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Conversations","kbAddTopic","kbHasTopic","kbTell","kbWasSaid","kbReact","kbRemoveTopic","kbAddDatabase","FSM","FSM Editor"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Conversations","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}