Skip to content

Ship swapped event

Tkael edited this page Dec 28, 2020 · 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

  • shipid The ID of the ship that was swapped

  • ship The ship that was swapped

  • soldshipid The ID of the ship that was sold as part of the swap

  • soldship The ship that was sold as part of the swap

  • storedshipid The ID of the ship that was stored as part of the swap

  • storedship The ship that was stored as part of the swap

To respond to this event in VoiceAttack, create a command entitled ((EDDI ship swapped)). The event information can be accessed using the following VoiceAttack variables

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