Skip to content

Ship purchased event

Tkael edited this page Jun 20, 2021 · 10 revisions

Triggered when you purchase 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.price} - The price of the ship that was purchased

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

  • {event.soldprice} - The credits obtained by selling the ship

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

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

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

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

To respond to this event in VoiceAttack, create a command entitled ((EDDI ship purchased)). 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 purchased price} - The price of the ship that was purchased

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

  • {DEC:EDDI ship purchased soldprice} - The credits obtained by selling the ship

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

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

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

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

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

Clone this wiki locally