-
-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Request
Provide an API similar to this:
trigger_event("EventHandlerLabel", script_entity, args, script_id)Which leads to the provided event handler being triggered. Target capabilities should match the Recipients enum.
Describe the solution you'd like
run_event_deferred: executes when the current callback ends. No frame delayrun_event: executes immediately, possibly returning a result.- Take into account the possibility that the triggered event might also lead to another event being triggered. If it can lead to a chain like that, then we also need to take into account infinite loops.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request