-
Notifications
You must be signed in to change notification settings - Fork 82
Mission completed event
Triggered when you complete 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 involved in the mission (if applicable)
-
{event.commodity} - The commodity involved in the mission (if applicable)
-
{event.commodityrewards} - The commodity rewarded for completing the mission
-
{event.commodityrewards[<index>].amount}
-
{event.commodityrewards[<index>].commodity}
-
{event.communal} - True if the mission is a community goal
-
{event.donation} - The monetary donation when completing the mission
-
{event.faction} - The faction receiving the mission
-
{event.factionEffects} - The faction effects from completing the mission, as a list
-
{event.factionEffects[<index>].faction} - The influenced faction
-
{event.factionEffects[<index>].influences} - Influences, as a list
-
{event.factionEffects[<index>].influences[<index>].influence} - The influence impact (in plusses)
-
{event.factionEffects[<index>].influences[<index>].systemAddress} - The system address of the influenced system
-
{event.factionEffects[<index>].reputation} - The reputation impact (in plusses)
-
{event.materialsrewards} - The materials rewarded for completing the mission
-
{event.materialsrewards[<index>].amount}
-
{event.materialsrewards[<index>].category}
-
{event.materialsrewards[<index>].desired}
-
{event.materialsrewards[<index>].material}
-
{event.materialsrewards[<index>].maximum}
-
{event.materialsrewards[<index>].minimum}
-
{event.materialsrewards[<index>].Rarity}
-
{event.materialsrewards[<index>].Rarity.invariantName}
-
{event.materialsrewards[<index>].Rarity.level}
-
{event.materialsrewards[<index>].Rarity.name}
-
{event.microresource} - The micro-resource (on foot item) involved in the mission (if applicable)
-
{event.microresourcerewards} - The micro-resource (on foot items) rewarded for completing the mission
-
{event.microresourcerewards[<index>].amount} - The amount of the micro resource
-
{event.microresourcerewards[<index>].category} - The localized category of the micro resource
-
{event.microresourcerewards[<index>].invariantCategory} - The invariant category of the micro resource
-
{event.microresourcerewards[<index>].invariantName} - The invariant name of the micro resource
-
{event.microresourcerewards[<index>].name} - The localized name of the micro resource
-
{event.missionid} - The ID of the mission
-
{event.name} - The name of the mission
-
{event.permitsawarded} - The permits rewarded for completing the mission
-
{event.permitsawarded[<index>]}
-
{event.reward} - The monetary reward for completing the mission
-
{event.rewardCommodity} - The commodity reward name (if applicable)
-
{event.rewardCommodityAmount} - The amount of the commodity reward (if applicable)
-
{event.rewardMaterial} - The material reward name (if applicable)
-
{event.rewardMaterialAmount} - The amount of the material reward (if applicable)
-
{event.rewardMicroResource} - The micro-resource (on foot item) reward name (if applicable)
-
{event.rewardMicroResourceAmount} - The amount of the micro-resource (on foot item) reward (if applicable)
-
{event.rewardPermit} - The permit reward name (if applicable)
To respond to this event in VoiceAttack, create a command entitled ((EDDI mission completed)). 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 completed amount} - The amount of the commodity or micro-resource involved in the mission (if applicable)
-
{TXT:EDDI mission completed commodity} - The commodity involved in the mission (if applicable)
-
{INT:EDDI mission completed commodityrewards} - The commodity rewarded for completing the mission
-
{INT:EDDI mission completed commodityrewards <index> amount}
-
{TXT:EDDI mission completed commodityrewards <index> commodity}
-
{BOOL:EDDI mission completed communal} - True if the mission is a community goal
-
{DEC:EDDI mission completed donation} - The monetary donation when completing the mission
-
{TXT:EDDI mission completed faction} - The faction receiving the mission
-
{INT:EDDI mission completed faction effects} - The faction effects from completing the mission, as a list
-
{TXT:EDDI mission completed faction effects <index> faction} - The influenced faction
-
{INT:EDDI mission completed faction effects <index> influences} - Influences, as a list
-
{TXT:EDDI mission completed faction effects <index> influences <index> influence} - The influence impact (in plusses)
-
{DEC:EDDI mission completed faction effects <index> influences <index> system address} - The system address of the influenced system
-
{TXT:EDDI mission completed faction effects <index> reputation} - The reputation impact (in plusses)
-
{INT:EDDI mission completed materialsrewards} - The materials rewarded for completing the mission
-
{INT:EDDI mission completed materialsrewards <index> amount}
-
{TXT:EDDI mission completed materialsrewards <index> category}
-
{INT:EDDI mission completed materialsrewards <index> desired}
-
{TXT:EDDI mission completed materialsrewards <index> material}
-
{INT:EDDI mission completed materialsrewards <index> maximum}
-
{INT:EDDI mission completed materialsrewards <index> minimum}
-
{TXT:EDDI mission completed materialsrewards <index> rarity invariant name}
-
{INT:EDDI mission completed materialsrewards <index> rarity level}
-
{TXT:EDDI mission completed materialsrewards <index> rarity name}
-
{TXT:EDDI mission completed microresource} - The micro-resource (on foot item) involved in the mission (if applicable)
-
{INT:EDDI mission completed microresourcerewards} - The micro-resource (on foot items) rewarded for completing the mission
-
{INT:EDDI mission completed microresourcerewards <index> amount} - The amount of the micro resource
-
{TXT:EDDI mission completed microresourcerewards <index> category} - The localized category of the micro resource
-
{TXT:EDDI mission completed microresourcerewards <index> invariant category} - The invariant category of the micro resource
-
{TXT:EDDI mission completed microresourcerewards <index> invariant name} - The invariant name of the micro resource
-
{TXT:EDDI mission completed microresourcerewards <index> name} - The localized name of the micro resource
-
{DEC:EDDI mission completed missionid} - The ID of the mission
-
{TXT:EDDI mission completed name} - The name of the mission
-
{INT:EDDI mission completed permitsawarded} - The permits rewarded for completing the mission
-
{TXT:EDDI mission completed permitsawarded <index>}
-
{DEC:EDDI mission completed reward} - The monetary reward for completing the mission
-
{TXT:EDDI mission completed reward commodity} - The commodity reward name (if applicable)
-
{INT:EDDI mission completed reward commodity amount} - The amount of the commodity reward (if applicable)
-
{TXT:EDDI mission completed reward material} - The material reward name (if applicable)
-
{INT:EDDI mission completed reward material amount} - The amount of the material reward (if applicable)
-
{TXT:EDDI mission completed reward micro resource} - The micro-resource (on foot item) reward name (if applicable)
-
{INT:EDDI mission completed reward micro resource amount} - The amount of the micro-resource (on foot item) reward (if applicable)
-
{TXT:EDDI mission completed reward permit} - The permit reward name (if applicable)
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.