đļSignal Functions
These are all of the functions revolving around signals that Wave supports.
Disable Connection:
Disables
Connection
.
Enable Connection:
Enables
Connection
.
Fire Signal:
Fires all signals connected to the
signal
. If given, the arguments will be used to call the function.
Get Connections:
Returns a
table
with all connections to the givensignal
.
Connections:
Connection | Description |
---|---|
.Function | The function connected to the connection. |
:Enable | Enables the connection. |
:Disable | Disables the connection. |
:Fire | Fires the connection. |
Hook Signal:
Intercepts signal invocations. When the
Signal
is fired, thecallback
is called for each Lua connection with an info table and arguments. Returningtrue
from the callback triggers the original connection.
Note:
hooksignal
cannot intercept C connections or CoreScript Lua connections.
Is Connection Enabled:
Returns
true
if a connection is enabled.
Is Signal Hooked:
Returns
true
ifSignal
is hooked.
Unhook Signal:
Unhooks a signal hooked with
hooksignal
.
Last updated