Mission accepted event - EDCD/EDDI GitHub Wiki
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.Mission} - The mission object
-
{event.Mission.amount} - The amount of the commodity or micro-resource required to complete the mission.
-
{event.Mission.cargodepot}
-
{event.Mission.collected} - The quantity of mission cargo which has been collected at a cargo depot
-
{event.Mission.commodity} - The localized name of the commodity required to complete the mission, as applicable
-
{event.Mission.CommodityDefinition} - The commodity object for the commodity required to complete the mission, as applicable
-
{event.Mission.CommodityDefinition.avgprice} - The latest known average market price for the commodity
-
{event.Mission.CommodityDefinition.Category}
-
{event.Mission.CommodityDefinition.Category.invariantName}
-
{event.Mission.CommodityDefinition.Category.name}
-
{event.Mission.CommodityDefinition.corrosive} - True if the commodity is known to be corrosive
-
{event.Mission.CommodityDefinition.invariantName}
-
{event.Mission.CommodityDefinition.name}
-
{event.Mission.CommodityDefinition.rare} - True if the commodity is a rare market commodity
-
{event.Mission.communal}
-
{event.Mission.delivered} - The quantity of mission cargo which has been delivered to a cargo depot
-
{event.Mission.destinationstation}
-
{event.Mission.destinationsystem}
-
{event.Mission.destinationsystems}
-
{event.Mission.expiry}
-
{event.Mission.expiryseconds}
-
{event.Mission.faction}
-
{event.Mission.influence}
-
{event.Mission.invariantTags}
-
{event.Mission.invariantTags[<index>]}
-
{event.Mission.legal}
-
{event.Mission.localisedname}
-
{event.Mission.microresource} - The localized name of the micro-resource required to complete the mission, as applicable
-
{event.Mission.MicroResourceDefinition} - The micro-resource object for the micro-resource required to complete the mission, as applicable
-
{event.Mission.MicroResourceDefinition.category} - The localized category name
-
{event.Mission.MicroResourceDefinition.invariantName}
-
{event.Mission.MicroResourceDefinition.name}
-
{event.Mission.missionid}
-
{event.Mission.name}
-
{event.Mission.notes} - Notes you have recorded about the mission.
-
{event.Mission.originreturn}
-
{event.Mission.originstation}
-
{event.Mission.originsystem}
-
{event.Mission.passengertype}
-
{event.Mission.passengervips}
-
{event.Mission.passengerwanted}
-
{event.Mission.reputation}
-
{event.Mission.reward} - Credits awarded upon successful completion
-
{event.Mission.shared}
-
{event.Mission.sourcebody} - The body or station where the mission cargo has been found, as applicable
-
{event.Mission.sourcesystem} - The system where the mission cargo has been found, as applicable
-
{event.Mission.status}
-
{event.Mission.tags}
-
{event.Mission.tags[<index>]}
-
{event.Mission.target}
-
{event.Mission.targetfaction}
-
{event.Mission.targettype}
-
{event.Mission.type} - Obsolete:
type
has been deprecated in favor of tags -
{event.Mission.wing}
-
{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)
-
{INT:EDDI mission accepted mission amount} - The amount of the commodity or micro-resource required to complete the mission.
-
{BOOL:EDDI mission accepted mission cargodepot}
-
{INT:EDDI mission accepted mission collected} - The quantity of mission cargo which has been collected at a cargo depot
-
{TXT:EDDI mission accepted mission commodity} - The localized name of the commodity required to complete the mission, as applicable
-
{DEC:EDDI mission accepted mission commodity definition avgprice} - The latest known average market price for the commodity
-
{TXT:EDDI mission accepted mission commodity definition category invariant name}
-
{TXT:EDDI mission accepted mission commodity definition category name}
-
{BOOL:EDDI mission accepted mission commodity definition corrosive} - True if the commodity is known to be corrosive
-
{TXT:EDDI mission accepted mission commodity definition invariant name}
-
{TXT:EDDI mission accepted mission commodity definition name}
-
{BOOL:EDDI mission accepted mission commodity definition rare} - True if the commodity is a rare market commodity
-
{BOOL:EDDI mission accepted mission communal}
-
{INT:EDDI mission accepted mission delivered} - The quantity of mission cargo which has been delivered to a cargo depot
-
{TXT:EDDI mission accepted mission destinationstation}
-
{TXT:EDDI mission accepted mission destinationsystem}
-
{INT:EDDI mission accepted mission destinationsystems}
-
{DATE:EDDI mission accepted mission expiry}
-
{DEC:EDDI mission accepted mission expiryseconds}
-
{TXT:EDDI mission accepted mission faction}
-
{TXT:EDDI mission accepted mission influence}
-
{INT:EDDI mission accepted mission invariant tags}
-
{TXT:EDDI mission accepted mission invariant tags <index>}
-
{BOOL:EDDI mission accepted mission legal}
-
{TXT:EDDI mission accepted mission localisedname}
-
{TXT:EDDI mission accepted mission micro resource definition category} - The localized category name
-
{TXT:EDDI mission accepted mission micro resource definition invariant name}
-
{TXT:EDDI mission accepted mission micro resource definition name}
-
{TXT:EDDI mission accepted mission microresource} - The localized name of the micro-resource required to complete the mission, as applicable
-
{DEC:EDDI mission accepted mission missionid}
-
{TXT:EDDI mission accepted mission name}
-
{TXT:EDDI mission accepted mission notes} - Notes you have recorded about the mission.
-
{BOOL:EDDI mission accepted mission originreturn}
-
{TXT:EDDI mission accepted mission originstation}
-
{TXT:EDDI mission accepted mission originsystem}
-
{TXT:EDDI mission accepted mission passengertype}
-
{BOOL:EDDI mission accepted mission passengervips}
-
{BOOL:EDDI mission accepted mission passengerwanted}
-
{TXT:EDDI mission accepted mission reputation}
-
{DEC:EDDI mission accepted mission reward} - Credits awarded upon successful completion
-
{BOOL:EDDI mission accepted mission shared}
-
{TXT:EDDI mission accepted mission sourcebody} - The body or station where the mission cargo has been found, as applicable
-
{TXT:EDDI mission accepted mission sourcesystem} - The system where the mission cargo has been found, as applicable
-
{TXT:EDDI mission accepted mission status}
-
{INT:EDDI mission accepted mission tags}
-
{TXT:EDDI mission accepted mission tags <index>}
-
{TXT:EDDI mission accepted mission target}
-
{TXT:EDDI mission accepted mission targetfaction}
-
{TXT:EDDI mission accepted mission targettype}
-
{TXT:EDDI mission accepted mission type} - Obsolete:
type
has been deprecated in favor of tags -
{BOOL:EDDI mission accepted mission wing}
-
{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.