A Visual Script node for calling a function.
VisualScriptFunctionCall is created when you add or drag and drop a function onto the Visual Script graph. It allows to tweak parameters of the call, e.g. what object the function is called on.
CallMode CALL_MODE_SELF =
The method will be called on this Object.
CallMode CALL_MODE_NODE_PATH =
The method will be called on the given Node in the scene tree.
CallMode CALL_MODE_INSTANCE =
The method will be called on an instanced node with the given type and script.
CallMode CALL_MODE_BASIC_TYPE =
The method will be called on a GDScript basic type (e.g. Vector2).
CallMode CALL_MODE_SINGLETON =
The method will be called on a singleton.
RPCCallMode RPC_DISABLED =
The method will be called locally.
RPCCallMode RPC_RELIABLE =
The method will be called remotely.
RPCCallMode RPC_UNRELIABLE =
The method will be called remotely using an unreliable protocol.
RPCCallMode RPC_RELIABLE_TO_ID =
The method will be called remotely for the given peer.
RPCCallMode RPC_UNRELIABLE_TO_ID =
The method will be called remotely for the given peer, using an unreliable protocol.
String base_type =
CallMode call_mode =
call_mode determines the target object on which the method will be called. See CallMode for options.
String function =
The name of the function to be called.
RPCCallMode rpc_call_mode =
Number of default arguments that will be used when calling the function. Can't be higher than the number of available default arguments in the method's declaration.
bool validate =
false, call errors (e.g. wrong number of arguments) will be ignored.