Signals

replicatesignal

Fires a supported signal through the replication path with the provided arguments.

Syntax

replicatesignal(signal: userdata | signal, ...arguments?: ...any)
Aliases replicateevent

Arguments

NameTypeDescription
signaluserdata | signalSignal or event object to inspect or fire.
...arguments?...anyArguments forwarded to the target signal, actor, thread, or function.

Description

Fires a supported signal through the replication path with the provided arguments.

Call it with 2 parameter(s): signal, ...arguments. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Example call with placeholder values.

replicatesignal(game, nil)