Skip to content

Commodity ejected event

Tkael edited this page Jun 20, 2021 · 10 revisions

Triggered when you eject a commodity from your ship or SRV.

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.abandoned} - True if the cargo has been abandoned

  • {event.amount} - The amount of commodity ejected

  • {event.commodity} - The name of the commodity ejected

  • {event.missionid} - ID of the mission-related commodity, if applicable

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

The following VoiceAttack variables are available for this event:

  • {BOOL:EDDI commodity ejected abandoned} - True if the cargo has been abandoned

  • {INT:EDDI commodity ejected amount} - The amount of commodity ejected

  • {TXT:EDDI commodity ejected commodity} - The name of the commodity ejected

  • {DEC:EDDI commodity ejected missionid} - ID of the mission-related commodity, if applicable

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

Clone this wiki locally