kbTell: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________


| person '''kbTell''' [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...] |= Syntax
| person '''kbTell''' [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...{,forceRadio}] |= Syntax


|p1= person: [[Object]] |= Parameter 1
|p1= person: [[Object]] |= Parameter 1


|p2= [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...]: [[Array]] |= Parameter 2
|p2= [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...{,forceRadio}]: [[Array]] |= Parameter 2


|p3= receiver: [[Object]] |= Parameter 3
|p3= receiver: [[Object]] |= Parameter 3
|p4= topic: [[String]] |= Parameter 4
|p4= topic, sentence id, argument name: [[String]] |= Parameter 4
|p5= sentence id: [[String]] |= Parameter 5
|p5= argument value: [[Code]] |= Parameter 5
|p6= argument name: [[String]] |= Parameter 6
|p6= argument text: [[String]] |= Parameter 6
|p7= argument value: [[Code]] |= Parameter 7
|p7= argument speech is an array of Strings, where each string is an already defined word in configs. |= Parameter 7
|p8= argument text: [[String]], argument speech is an array of Strings, where each string is an already defined word in configs. |= Parameter 8
|p8= forceRadio (optional): [[Boolean]] |= Parameter 8


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 34: Line 34:


}}
}}
The arguments have an optional bool value at the end, if true, engine is forced always to use radio channel for communication.


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 16:08, 29 March 2010

Template:future-use


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

Description

Description:
Make the person tell to the receiver the sentence.
Groups:
Uncategorised

Syntax

Syntax:
person kbTell [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...{,forceRadio}]
Parameters:
person: Object
[receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...{,forceRadio}]: Array
receiver: Object
topic, sentence id, argument name: String
argument value: Code
argument text: String
argument speech is an array of Strings, where each string is an already defined word in configs.
forceRadio (optional): Boolean
Return Value:
Nothing

Examples

Examples:
Example needed

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