kbHasTopic

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Check if conversation topic was registered to given person. See Conversations for more details.

Syntax

Syntax:
person kbHasTopic topicName
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

Multiplayer:
-
See also:
ConversationskbAddTopickbTellkbReactkbRemoveTopickbAddDatabasekbAddDatabaseTargetsFSMFSM Editor

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section