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.
The script to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE].
The base type to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE].
The type to be used when [member call_mode] is set to [constant CALL_MODE_BASIC_TYPE].
[code]call_mode[/code] determines the target object on which the method will be called. See [enum CallMode] for options.
The name of the function to be called.
The node path to use when [member call_mode] is set to [constant CALL_MODE_NODE_PATH].
The mode for RPC calls. See [method Node.rpc] for more details and [enum RPCCallMode] for available options.
The singleton to call the method on. Used when [member call_mode] is set to [constant CALL_MODE_SINGLETON].
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.
If [code]false[/code], call errors (e.g. wrong number of arguments) will be ignored.
The method will be called on this [Object].
The method will be called on the given [Node] in the scene tree.
The method will be called on an instanced node with the given type and script.
The method will be called on a GDScript basic type (e.g. [Vector2]).
The method will be called on a singleton.
The method will be called locally.
The method will be called remotely.
The method will be called remotely using an unreliable protocol.
The method will be called remotely for the given peer.
The method will be called remotely for the given peer, using an unreliable protocol.