nanos world API Reference Unofficial documentation
Static function Server Moderate

Events.BroadcastRemoteInRadius

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

Syntax

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

Parameters

Name Type Default Description
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
reliability optional Reliability Reliability.Reliable The network reliability rule
args... optional any nil Arguments to pass to the event