Skip to content

Mission accepted event

Tkael edited this page Nov 25, 2022 · 13 revisions

Triggered when you accept a mission.

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.amount} - The amount of the commodity or micro-resource, passengers, or targets involved in the mission (if applicable)

  • {event.commodity} - The commodity involved in the mission (if applicable)

  • {event.communal} - True if the mission is a community goal

  • {event.destinationstation} - The destination station for the mission (if applicable)

  • {event.destinationsystem} - The destination system for the mission (if applicable)

  • {event.expiry} - The expiry date of the mission

  • {event.faction} - The faction issuing the mission

  • {event.influence} - The increase in the faction's influence in the system gained when completing this mission, if any

  • {event.invariantTags} - An unlocalized list of mission tags / attributes

  • {event.invariantTags[<index>]}

  • {event.localisedname} - The localised name of the mission

  • {event.microresource} - The micro-resource (on foot item) involved in the mission (if applicable)

  • {event.missionid} - The ID of the mission

  • {event.name} - The name of the mission

  • {event.passengertype} - The type of passengers in the mission (if applicable)

  • {event.passengervips} - True if the passenger is a VIP (if applicable)

  • {event.passengerwanted} - True if the passengers are wanted (if applicable)

  • {event.reputation} - The increase in the commander's reputation with the faction gained when completing this mission, if any

  • {event.reward} - The expected cash reward from the mission

  • {event.tags} - A localized list of mission tags / attributes

  • {event.tags[<index>]}

  • {event.target} - Name of the target of the mission (if applicable)

  • {event.targetfaction} - Faction of the target of the mission (if applicable)

  • {event.targettype} - Type of the target of the mission (if applicable)

  • {event.wing} - True if the mission allows wing-mates

To respond to this event in VoiceAttack, create a command entitled ((EDDI mission accepted)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {INT:EDDI mission accepted amount} - The amount of the commodity or micro-resource, passengers, or targets involved in the mission (if applicable)

  • {TXT:EDDI mission accepted commodity} - The commodity involved in the mission (if applicable)

  • {BOOL:EDDI mission accepted communal} - True if the mission is a community goal

  • {TXT:EDDI mission accepted destinationstation} - The destination station for the mission (if applicable)

  • {TXT:EDDI mission accepted destinationsystem} - The destination system for the mission (if applicable)

  • {DATE:EDDI mission accepted expiry} - The expiry date of the mission

  • {TXT:EDDI mission accepted faction} - The faction issuing the mission

  • {TXT:EDDI mission accepted influence} - The increase in the faction's influence in the system gained when completing this mission, if any

  • {INT:EDDI mission accepted invariant tags} - An unlocalized list of mission tags / attributes

  • {TXT:EDDI mission accepted invariant tags <index>}

  • {TXT:EDDI mission accepted localisedname} - The localised name of the mission

  • {TXT:EDDI mission accepted microresource} - The micro-resource (on foot item) involved in the mission (if applicable)

  • {DEC:EDDI mission accepted missionid} - The ID of the mission

  • {TXT:EDDI mission accepted name} - The name of the mission

  • {TXT:EDDI mission accepted passengertype} - The type of passengers in the mission (if applicable)

  • {BOOL:EDDI mission accepted passengervips} - True if the passenger is a VIP (if applicable)

  • {BOOL:EDDI mission accepted passengerwanted} - True if the passengers are wanted (if applicable)

  • {TXT:EDDI mission accepted reputation} - The increase in the commander's reputation with the faction gained when completing this mission, if any

  • {DEC:EDDI mission accepted reward} - The expected cash reward from the mission

  • {INT:EDDI mission accepted tags} - A localized list of mission tags / attributes

  • {TXT:EDDI mission accepted tags <index>}

  • {TXT:EDDI mission accepted target} - Name of the target of the mission (if applicable)

  • {TXT:EDDI mission accepted targetfaction} - Faction of the target of the mission (if applicable)

  • {TXT:EDDI mission accepted targettype} - Type of the target of the mission (if applicable)

  • {BOOL:EDDI mission accepted wing} - True if the mission allows wing-mates

For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.

Clone this wiki locally