Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Server Moderato

Events.BroadcastRemoteInRadiusDimension

Broadcasts a remote custom Event from the Server to all Players within a specific location radius AND residing in a specific Dimension (Server ➔ Clients)<br/>Must be caught using <code>Events.SubscribeRemote()</code> on the Clients

Non ancora tradotto

Sintassi

Lua
Events.BroadcastRemoteInRadiusDimension(event_name, location, radius, dimension, reliability = Reliability.Reliable, args... = nil)

Parametri

Nome Tipo Predefinito Descrizione
event_name string The Event Name to trigger the event
location Vector The location used to calculate the event radius
radius number The radius to send this event
dimension integer The Dimension to send this event
reliability facoltativo Reliability Reliability.Reliable The network reliability rule
args... facoltativo any nil Arguments to pass to the event