Skip to content

Power commodity obtained event

Tkael edited this page Jun 20, 2021 · 10 revisions

Triggered when a commander obtains a commodity from a power.

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 commodity the commander is obtaining

  • {event.commodity} - The name of the commodity the commander is obtaining

  • {event.power} - The name of the power for which the commander is obtaining the commodity

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

The following VoiceAttack variables are available for this event:

  • {INT:EDDI power commodity obtained amount} - The amount of the commodity the commander is obtaining

  • {TXT:EDDI power commodity obtained commodity} - The name of the commodity the commander is obtaining

  • {TXT:EDDI power commodity obtained power} - The name of the power for which the commander is obtaining the commodity

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

Clone this wiki locally