Skip to content

Commodity purchased event

Richard Buckle edited this page Apr 19, 2018 · 10 revisions

Triggered when you buy a commodity from the markets. 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

  • marketid The market ID of the purchased commodity

  • commodity The name of the purchased commodity

  • amount The amount of the purchased commodity

  • price The price paid per unit of the purchased commodity

To use this event in VoiceAttack, create a command entitled ((EDDI commodity purchased)). The event information can be accessed using the following VoiceAttack variables

  • {INT:EDDI commodity purchased amount} The amount of the purchased commodity
  • {TXT:EDDI commodity purchased commodity} The name of the purchased commodity
  • {DEC:EDDI commodity purchased marketid} The market ID of the purchased commodity
  • {INT:EDDI commodity purchased price} The price paid per unit of the purchased commodity
Clone this wiki locally