Skip to content

Material discarded event

Tkael edited this page Jun 20, 2021 · 9 revisions

Triggered when you discard a material.

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.amount} - The amount of the discarded material

  • {event.name} - The name of the discarded material

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

The following VoiceAttack variables are available for this event:

  • {INT:EDDI material discarded amount} - The amount of the discarded material

  • {TXT:EDDI material discarded name} - The name of the discarded material

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

Clone this wiki locally