Function
Moderate
Entity:BroadcastRemoteInRadiusEvent
Calls a custom remote event directly on this entity to all Players in a radius
Syntax
my_entity:BroadcastRemoteInRadiusEvent(event_name, radius, reliability = Reliability.Reliable, args... = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_name
|
string | — | The Event Name to trigger the event |
radius
|
float | — | 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 |