kbWasSaid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) |
||
Line 37: | Line 37: | ||
|x1= <code>[[player]] [[kbWasSaid]] [otherUnit, "myTopic", "mySentenceID", 3];</code> | |x1= <code>[[player]] [[kbWasSaid]] [otherUnit, "myTopic", "mySentenceID", 3];</code> | ||
|seealso= [[Conversations]] | |seealso= [[Conversations]] [[kbAddTopic]], [[kbHasTopic]], [[kbTell]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabase]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] | ||
}} | }} |
Revision as of 16:30, 20 January 2022
Description
- Description:
- Check if given item was said by person to someone. See Conversations for more details.
- Groups:
- Conversations
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:
- Conversations kbAddTopickbHasTopickbTellkbReactkbRemoveTopickbAddDatabasekbAddDatabaseTargetsFSMFSM 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