Skip to content

Ship swapped event

Tkael edited this page Jun 20, 2021 · 9 revisions

Triggered when you swap a ship.

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.ship} - The ship that was swapped

  • {event.shipid} - The ID of the ship that was swapped

  • {event.soldship} - The ship that was sold as part of the swap

  • {event.soldshipid} - The ID of the ship that was sold as part of the swap

  • {event.storedship} - The ship that was stored as part of the swap

  • {event.storedshipid} - The ID of the ship that was stored as part of the swap

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

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI ship swapped ship} - The ship that was swapped

  • {INT:EDDI ship swapped shipid} - The ID of the ship that was swapped

  • {TXT:EDDI ship swapped soldship} - The ship that was sold as part of the swap

  • {INT:EDDI ship swapped soldshipid} - The ID of the ship that was sold as part of the swap

  • {TXT:EDDI ship swapped storedship} - The ship that was stored as part of the swap

  • {INT:EDDI ship swapped storedshipid} - The ID of the ship that was stored as part of the swap

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

Clone this wiki locally