kbHasTopic: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "|r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 25: | Line 25: | ||
|seealso= [[Conversations]], [[kbAddTopic]], [[kbTell]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabase]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] | |seealso= [[Conversations]], [[kbAddTopic]], [[kbTell]], [[kbReact]], [[kbRemoveTopic]], [[kbAddDatabase]], [[kbAddDatabaseTargets]], [[FSM]], [[FSM Editor]] | ||
}} | }} | ||
{{GameCategory|arma2|Scripting Commands}} | {{GameCategory|arma2|Scripting Commands}} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
{{GameCategory|tkoh|Scripting Commands}} | {{GameCategory|tkoh|Scripting Commands}} |
Revision as of 23:11, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Conversations
Syntax
- Syntax:
- Syntax needed
- Parameters:
- person: Object
- topicName: String
- Return Value:
- Boolean
Examples
- Example 1:
_obiHasTopic = player kbHasTopic "helloThereGeneralK";
- Example 2:
if (player kbHasTopic "dontShoot") then { player kbRemoveTopic "dontShoot"; };
Additional Information
- See also:
- ConversationskbAddTopickbTellkbReactkbRemoveTopickbAddDatabasekbAddDatabaseTargetsFSMFSM 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