Static function
Moderate
Events.Call
Triggers a local custom Event across all Packages on the same side (Client ➔ Client OR Server ➔ Server)<br/>Must be caught using <code>Events.Subscribe()</code>
Syntax
Events.Call(event_name, args... = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_name
|
string | — | The Event Name to trigger the event |
args...
optional
|
any | nil |
Arguments to pass to the event |
Returns
- boolean Returns false if any of the event listeners returned false, otherwise returns true