Skip to content

Ship sold on rebuy event

Tkael edited this page Jun 20, 2021 · 7 revisions

Triggered when you sell a ship to raise funds on the rebuy screen.

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.price} - The price for which the ship was sold

  • {event.ship} - The ship that was sold

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

  • {event.system} - The system where the ship was sold

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

The following VoiceAttack variables are available for this event:

  • {DEC:EDDI ship sold on rebuy price} - The price for which the ship was sold

  • {TXT:EDDI ship sold on rebuy ship} - The ship that was sold

  • {INT:EDDI ship sold on rebuy shipid} - The ID of the ship that was sold

  • {TXT:EDDI ship sold on rebuy system} - The system where the ship was sold

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

Clone this wiki locally