-
Notifications
You must be signed in to change notification settings - Fork 92
Cargo transfer event
Triggered when transferring commodities between your ship, SRV, or carrier.
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.tocarrier} - The commodities and amounts being transferred to your carrier
-
{event.tocarrier[<index>].amount} - amount
-
{event.tocarrier[<index>].commodity} - localized commodity name
-
{event.toship} - The commodities and amounts being transferred to your ship
-
{event.toship[<index>].amount} - amount
-
{event.toship[<index>].commodity} - localized commodity name
-
{event.tosrv} - The commodities and amounts being transferred to your SRV
-
{event.tosrv[<index>].amount} - amount
-
{event.tosrv[<index>].commodity} - localized commodity name
To respond to this event in VoiceAttack, create a command entitled ((EDDI cargo transfer)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI cargo transfer tocarrier} - The commodities and amounts being transferred to your carrier
-
{INT:EDDI cargo transfer tocarrier <index> amount} - amount
-
{TXT:EDDI cargo transfer tocarrier <index> commodity} - localized commodity name
-
{INT:EDDI cargo transfer toship} - The commodities and amounts being transferred to your ship
-
{INT:EDDI cargo transfer toship <index> amount} - amount
-
{TXT:EDDI cargo transfer toship <index> commodity} - localized commodity name
-
{INT:EDDI cargo transfer tosrv} - The commodities and amounts being transferred to your SRV
-
{INT:EDDI cargo transfer tosrv <index> amount} - amount
-
{TXT:EDDI cargo transfer tosrv <index> commodity} - localized commodity name
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.