Skip to content

Generate Event

Use the single Generate Event function (or C++ helper) to fire an AES Event from any object that has an Identity.

Generate Event node blueprint

  • Identity – required; identifies the source (“broadcaster”).
  • Event Class – which AES Event to instance; you can optionally set its payload pins/fields.
  • Target Id (optional) – when set, the generated event attempts a direct (whisper‑style) delivery to that Identity. When omitted, the event performs a fan‑out (broadcast behavior) to all matching listener lists.

The manager creates the event instance, fills payload fields, then resolves listeners based on whether a Target Id was supplied.

Target Id Provided?Delivery ModeListener Resolution
NoFan‑out (“broadcast”)All Broadcast listeners + Type listeners (type tag match) + Focus listeners (Focused Broadcaster ID matches broadcaster Identity ID)
YesDirect (“whisper”)Only Whisper registrations whose target Identity matches the provided Target Id

During fan‑out a single generation can reach multiple registration lists (Broadcast / Type / Focus). If the same consumer registered the same AES Event multiple ways and all filters match, its delegate executes once per registration. Keep registrations intentional to avoid duplication.

If the specified target Identity does not exist or has no Whisper registration for that event type, nothing happens (no errors thrown).

The older separate nodes Generate Broadcast Event and Generate Whisper Event are deprecated. Replace them with the unified Generate Event:

  • Old Broadcast node -> call Generate Event without a Target Id
  • Old Whisper node -> call Generate Event with a Target Id

Existing registration nodes (Broadcast / Type / Focus / Whisper) continue to work. Only the generation side was unified.

  • Use the unified helper; only set a target identifier when you intend a direct delivery.
  • Avoid redundant multi‑mode registrations unless you truly need distinct handling paths.
  1. Event didn’t fire? Confirm the source has a valid Identity and the Event Class is correct.
  2. Expected a direct delivery? Ensure you passed a Target Id and that a Whisper registration exists for that Identity & Event.
  3. Seeing duplicates? Look for overlapping Broadcast / Type / Focus registrations for the same consumer.
  4. Listener silent during fan‑out? Verify the registration flavor matches (e.g., Type tag aligns, Focus target matches broadcaster Identity).