Bounty awarded event - EDCD/EDDI GitHub Wiki

Triggered when you are awarded a bounty.

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.faction} - The name of the faction whose asset you destroyed

  • {event.pilot} - The pilot of the asset you destroyed (if applicable)

  • {event.reward} - The total number of credits obtained for destroying the asset

  • {event.rewards} - The rewards obtained for destroying the asset

  • {event.rewards[<index>].amount}

  • {event.rewards[<index>].faction}

  • {event.shared} - True if the rewards have been shared with wing-mates

  • {event.target} - The name of the asset you destroyed (if applicable)

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

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI bounty awarded faction} - The name of the faction whose asset you destroyed

  • {TXT:EDDI bounty awarded pilot} - The pilot of the asset you destroyed (if applicable)

  • {DEC:EDDI bounty awarded reward} - The total number of credits obtained for destroying the asset

  • {INT:EDDI bounty awarded rewards} - The rewards obtained for destroying the asset

  • {DEC:EDDI bounty awarded rewards <index> amount}

  • {TXT:EDDI bounty awarded rewards <index> faction}

  • {BOOL:EDDI bounty awarded shared} - True if the rewards have been shared with wing-mates

  • {TXT:EDDI bounty awarded target} - The name of the asset you destroyed (if applicable)

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

⚠️ **GitHub.com Fallback** ⚠️