Signal Handler Component

A component that registers signals on events and listens for them.
Vars | |
custom_signal | Whether it is a custom signal id or not. |
---|---|
entity | The entity received from the event. |
event_triggered | The event has been triggered |
input_signal_ports | The custom input from the current signal type. |
instant | Whether this executes instantly or not. If set to 0, this will not execute instantly. |
output_signal_ports | The custom output from the current signal type. |
register | Registers the signal |
registered_entities | The current entities that have the signal registered on it |
registered_signal | The current registered signal |
signal_handler_options | Whether it is a global or object signal |
signal_id | The list of signal IDs that can be selected as an option. |
signal_ports | The custom signal ports from the current signal type. Used for saving and loading. |
target | Entity to register the signal on |
unregister | Unregisters the signal on the target. |
unregister_all | Unregisters the signal from everyone. |
Var Details
custom_signal

Whether it is a custom signal id or not.
entity

The entity received from the event.
event_triggered

The event has been triggered
input_signal_ports

The custom input from the current signal type.
instant

Whether this executes instantly or not. If set to 0, this will not execute instantly.
output_signal_ports

The custom output from the current signal type.
register

Registers the signal
registered_entities

The current entities that have the signal registered on it
registered_signal

The current registered signal
signal_handler_options

Whether it is a global or object signal
signal_id

The list of signal IDs that can be selected as an option.
signal_ports

The custom signal ports from the current signal type. Used for saving and loading.
target

Entity to register the signal on
unregister

Unregisters the signal on the target.
unregister_all

Unregisters the signal from everyone.