UpdateEvents

Patches events already registered on the screen. Each updates entry (built with update) targets an event by id and merges a data map into it, the same way UpdateTiles patches a tile, so a chain can rewrite another event's parameters before it runs. All updates are attempted even if one fails. Does not consume incomingData. Dispatches onSuccess (no data) when every update was applied; onFailure (no data), once at the end, when at least one failed — typically because no event carries that id.

Parameters

id

Unique identifier of this event. Defaults to a random id.

trigger

Trigger that fires this event, built via EventTriggers.

events

Child events chained after this one, wired to its triggers (onSuccess, onFailure).

updates

Target-event patches, declared with update.