Skip to content

Module sold from storage event

Tkael edited this page Dec 28, 2020 · 8 revisions

Triggered when selling a module in storage. 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

  • ship The ship from which the module was sold

  • shipid The ID of the ship from which the module was sold

  • module The module (object) being sold

  • price The price of the module being sold

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

  • {DEC:EDDI module sold from storage price} The price of the module being sold
  • {TXT:EDDI module sold from storage ship} The ship from which the module was sold
  • {INT:EDDI module sold from storage shipid} The ID of the ship from which the module was sold

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

Clone this wiki locally