kbWasSaid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00|Game version= | |1.00|Game version= |
Revision as of 03:38, 1 September 2019
Description
- Description:
- Check if given item was said by person to someone. See Conversations for more details.
- Groups:
- Uncategorised
Syntax
- Syntax:
- person kbWasSaid [receiver, topic, sentenceID, maxAge]
- 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:
- Boolean
Examples
Additional Information
- See also:
- ConversationskbAddTopickbHasTopickbTellkbReactkbRemoveTopickbAddDatabasekbAddDatabaseTargetsFSMFSM 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