BTCheckVar

Inherits: BTCondition < BTTask < BT

BT condition that checks a variable on the blackboard.

Description

BTCheckVar evaluates the variable against value and returns SUCCESS or FAILURE based on the check_type.

Properties

CheckType

check_type

0

BBVariant

value

StringName

variable

&""


Property Descriptions

CheckType check_type = 0

The type of check to be performed.


BBVariant value

A parameter that specifies the value against which the variable will be compared.


StringName variable = &""

  • void set_variable ( StringName value )

  • StringName get_variable ( )

The name of the variable to check its value.