Skip to content

Surface signals detected event

Tkael edited this page Jun 20, 2021 · 4 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.bodyname} - The body where surface signals were detected

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

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

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

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:

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

  • {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}

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

Clone this wiki locally