Market information updated event - EDCD/EDDI GitHub Wiki
Triggered when market information for the currently docked station has been updated.
Where values are indexed (the compartments on a ship for example), the index will be represented by '<index>'. For VoiceAttack, a variable with the root name of the indexed array shall identify the total number of entries in the array. For example, if compartments 1 and 2 are available then the value of the corresponding 'compartments' variable will be 2.
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.updates} - A list of the updates triggering the event (which may include 'market', 'outfitting', and 'shipyard'
-
{event.updates[<index>]}
To respond to this event in VoiceAttack, create a command entitled ((EDDI market information updated)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI market information updated updates} - A list of the updates triggering the event (which may include 'market', 'outfitting', and 'shipyard'
-
{TXT:EDDI market information updated updates <index>}
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.