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
|
||
bool |
|
|
StringName |
|
|
StringName |
|
Property Descriptions
BBVariant[] args = []
void set_args ( BBVariant[] value )
BBVariant[] get_args ( )
The arguments to be passed when calling the method.
bool args_include_delta = false
void set_include_delta ( bool value )
bool is_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 ( StringName value )
StringName get_method ( )
The name of the method to be called.
BBNode node
Specifies the Node
or Object
instance containing the method to be called.
StringName result_var = &""
void set_result_var ( StringName value )
StringName get_result_var ( )
if non-empty, assign the result of the method call to the blackboard variable specified by this property.