kbWasSaid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " *\| *MP *[Aa]rguments? *= * " to " ")
Line 7: Line 7:
|1.00
|1.00


|arg= global |MP arguments=
|arg= global


| Check if given item was said by person to someone. See [[Conversations]] for more details.
| Check if given item was said by person to someone. See [[Conversations]] for more details.

Revision as of 17:38, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Conversations

Syntax

Syntax:
Syntax needed
Parameters:
person: Object - who said the item
[receiver, topic, sentenceID, maxAge]: Array
receiver: Object - receiver of the sentence
topic: String - name of the topic used in kbAddTopic
sentenceID: String - id of sentence that we want to check
maxAge: Number - time in seconds. kbWasSaid will check whether the sentence was said in last max. age seconds
Return Value:
Return value needed

Examples

Example 1:
player kbWasSaid [otherUnit, "myTopic", "mySentenceID", 3];

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