Funzione statica
Moderato
Events.BroadcastRemote
Broadcasts a remote custom Event from the Server to ALL currently connected Players (Server ➔ Clients)<br/>Must be caught using <code>Events.SubscribeRemote()</code> on the Clients
Non ancora tradotto
Sintassi
Events.BroadcastRemote(event_name, reliability = Reliability.Reliable, args... = nil)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
event_name
|
string | — | The Event Name to trigger the event |
reliability
facoltativo
|
Reliability | Reliability.Reliable |
The network reliability rule |
args...
facoltativo
|
any | nil |
Arguments to pass to the event |