Cargo wingupdate event - EDCD/EDDI GitHub Wiki
Triggered when a wing-mate collects or delivers cargo for a wing mission.
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 cargo collected or delivered for this event
-
{event.collected} - The total amount of cargo collected
-
{event.commodity} - The type of cargo (commodity)
-
{event.delivered} - The total amount of cargo delivered
-
{event.missionid} - The ID of the mission
-
{event.totaltodeliver} - The total amount of cargo to deliver to complete the mission
-
{event.updatetype} - The update type. 'Collect' or 'Deliver'
To respond to this event in VoiceAttack, create a command entitled ((EDDI cargo wingupdate)). 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 wingupdate amount} - The amount of cargo collected or delivered for this event
-
{INT:EDDI cargo wingupdate collected} - The total amount of cargo collected
-
{TXT:EDDI cargo wingupdate commodity} - The type of cargo (commodity)
-
{INT:EDDI cargo wingupdate delivered} - The total amount of cargo delivered
-
{DEC:EDDI cargo wingupdate missionid} - The ID of the mission
-
{INT:EDDI cargo wingupdate totaltodeliver} - The total amount of cargo to deliver to complete the mission
-
{TXT:EDDI cargo wingupdate updatetype} - The update type. 'Collect' or 'Deliver'
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.