Skip to content

Cargo wingupdate event

Richard Buckle edited this page Nov 9, 2018 · 5 revisions

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

  • missionid The ID of the mission

  • updatetype The update type. 'Collect' or 'Deliver'

  • commodity The type of cargo (commodity)

  • amount The amount of cargo collected or delivered for this event

  • collected The total amount of cargo collected

  • delivered The total amount of cargo delivered

  • totaltodeliver The total amount of cargo to deliver to complete the mission

To respond to this event in VoiceAttack, create a command entitled ((EDDI cargo wingupdate)). The event information can be accessed using the following VoiceAttack variables

  • {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'
Clone this wiki locally