BTCheckAgentProperty

Inherits: BTCondition < BTTask < BT

BT condition that checks agent’s property value.

Description

BTCheckAgentProperty examines the agent’s property value and compares it to value.

Returns SUCCESS or FAILURE based on the check_type.

Properties

CheckType

check_type

0

StringName

property

&""

BBVariant

value


Property Descriptions

CheckType check_type = 0 🔗

The type of check to be performed.


StringName property = &"" 🔗

  • void set_property(value: StringName)

  • StringName get_property()

Parameter that specifies the agent’s property to be compared.


BBVariant value 🔗

Parameter that specifies the value against which an agent’s property will be compared.