Skip to content

triggerEvent

Ben edited this page Aug 16, 2022 · 1 revision

Triggers a TRP3 event

TRP3_API.events.fireEvent(event, ...)

Arguments

  • event: event string, see events
  • ...: args for each event are defined in events

Example

Trigger the "CONFIGURATION_CHANGED" event

local event = "CONFIGURATION_CHANGED"

TRP3_API.events.fireEvent(event)
Clone this wiki locally