BTSetVar
Inherits: BTAction < BTTask < BT
BT action that assigns value to the variable and then returns SUCCESS.
Description
BTSetVar assigns value to the variable and then returns SUCCESS. Optionally, it can perform a specific operation before assignment.
Returns FAILURE if it fails to set the variable.
Properties
|
||
|
|
Property Descriptions
Specifies the operation to be performed before assignment. Operation is executed as follows:
variable = variable OPERATION value
Parameter that specifies the value to be assigned to the variable.
StringName variable = &"" 🔗
void set_variable(value:
StringName)StringNameget_variable()
Name of the variable to which the value will be assigned.