Skip to content

Commodity collected event

Tkael edited this page Jun 20, 2021 · 10 revisions

Triggered when you pick up a commodity in 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.commodity} - The name of the commodity collected

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

  • {event.stolen} - If the commodity is stolen

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

The following VoiceAttack variables are available for this event:

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

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

  • {BOOL:EDDI commodity collected stolen} - If the commodity is stolen

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

Clone this wiki locally