Skip to content

Surface signals detected event

T'kael edited this page Mar 16, 2025 · 5 revisions

Triggered when surface signal sources are detected.

Where values are indexed (the compartments on a ship for example), the index will be represented by '<index>'. For VoiceAttack, a variable with the root name of the indexed array shall identify the total number of entries in the array. For example, if compartments 1 and 2 are available then the value of the corresponding 'compartments' variable will be 2.

When using this event in the Speech responder the information about this event is available under the event object. The available variables are as follows:

  • {event.bodyId} - The numeric ID of the body where surface signals were detected

  • {event.bodyname} - The body where surface signals were detected

  • {event.detectionType} - The signal detection type (either 'FSS' or 'SAA'

  • {event.surfacesignals} - A list of signals (as objects)

  • {event.surfacesignals[<index>].amount}

  • {event.surfacesignals[<index>].source}

  • {event.systemAddress} - The numeric system address of the star system containing the surface signal

To respond to this event in VoiceAttack, create a command entitled ((EDDI surface signals detected)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {DEC:EDDI surface signals detected body id} - The numeric ID of the body where surface signals were detected

  • {TXT:EDDI surface signals detected bodyname} - The body where surface signals were detected

  • {TXT:EDDI surface signals detected detection type} - The signal detection type (either 'FSS' or 'SAA'

  • {INT:EDDI surface signals detected surfacesignals} - A list of signals (as objects)

  • {INT:EDDI surface signals detected surfacesignals <index> amount}

  • {TXT:EDDI surface signals detected surfacesignals <index> source}

  • {DEC:EDDI surface signals detected system address} - The numeric system address of the star system containing the surface signal

For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.

Clone this wiki locally