VisualScriptYieldSignal

Inherits: VisualScriptNode < Resource < Reference < Object

A Visual Script node yielding for a signal.

Description

VisualScriptYieldSignal will pause the function execution until the provided signal is emitted.

Properties

String

base_type

"Object"

CallMode

call_mode

0

NodePath

node_path

String

signal

""


Enumerations

enum CallMode:

CallMode CALL_MODE_SELF = 0

A signal from this Object will be used.

CallMode CALL_MODE_NODE_PATH = 1

A signal from the given Node in the scene tree will be used.

CallMode CALL_MODE_INSTANCE = 2

A signal from an instanced node with the given type will be used.


Property Descriptions

String base_type = "Object"

  • void set_base_type ( String value )

  • String get_base_type ( )

The base type to be used when call_mode is set to CALL_MODE_INSTANCE.


CallMode call_mode = 0

call_mode determines the target object to wait for the signal emission. See CallMode for options.


NodePath node_path

The node path to use when call_mode is set to CALL_MODE_NODE_PATH.


String signal = ""

The signal name to be waited for.