BTCallMethod
Inherits: BTAction < BTTask < BT
BT action that calls a method on a specified Node or Object.
Description
BTCallMethod action calls a method on the specified Node or Object instance and returns SUCCESS.
Returns FAILURE if the action encounters an issue during the method execution.
Properties
Array[BBVariant] |
|
|
|
|
|
|
|
|
|
|
Property Descriptions
The arguments to be passed when calling the method.
bool args_include_delta = false 🔗
void set_include_delta(value:
bool)boolis_delta_included()
Include delta as a first parameter and shift the position of the rest of the arguments if any.
StringName method = &"" 🔗
void set_method(value:
StringName)StringNameget_method()
The name of the method to be called.
Specifies the Node or Object instance containing the method to be called.
StringName result_var = &"" 🔗
void set_result_var(value:
StringName)StringNameget_result_var()
if non-empty, assign the result of the method call to the blackboard variable specified by this property.