Skip to content

Bond redeemed event

Tkael edited this page Jun 20, 2021 · 10 revisions

Triggered when you redeem a combat bond.

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 rewarded (after any broker fees)

  • {event.brokerpercentage} - Broker precentage fee (if paid via a Broker)

  • {event.rewards} - The rewards obtained broken down by faction

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

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

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

The following VoiceAttack variables are available for this event:

  • {DEC:EDDI bond redeemed amount} - The amount rewarded (after any broker fees)

  • {DEC:EDDI bond redeemed brokerpercentage} - Broker precentage fee (if paid via a Broker)

  • {INT:EDDI bond redeemed rewards} - The rewards obtained broken down by faction

  • {DEC:EDDI bond redeemed rewards <index> amount}

  • {TXT:EDDI bond redeemed rewards <index> faction}

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

Clone this wiki locally