kbAddDatabase: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Compatibility remark.)
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands ArmA|KBADDDATABASE]]
[[Category:Scripting Commands ArmA|KBADDDATABASE]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''person'' kbAddDatabase ''filename'''''</h2>
| arma |= Game name


|2.56|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Register knowledge base database to given person. |= Description
____________________________________________________________________________________________


'''person:''' [[Object]]
| person '''kbAddDatabase''' filename |= Syntax


'''filename:''' [[String]]
|p1= person: [[Object]] |= Parameter 1


'''Type of returned value:'''
|p2= filename: [[String]] |= Parameter 2


[[Boolean]]
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_unit kbAddDatabase "chat.txt"</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.56 required.
}}


''Function not available in Armed Assault.''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Register knowledge base database to given person.
<h3 style="display:none">Bottom Section</h3>
 
 
'''Example:'''
 
_unit '''kbAddDatabase''' "chat.txt"

Revision as of 00:52, 2 August 2006


-wrong parameter ("Arma") defined!-2.56
Hover & click on the images for description

Description

Description:
Register knowledge base database to given person.
Groups:
Uncategorised

Syntax

Syntax:
person kbAddDatabase filename
Parameters:
person: Object
filename: String
Return Value:
Boolean

Examples

Example 1:
_unit kbAddDatabase "chat.txt"

Additional Information

See also:
See also needed

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

Notes

Bottom Section