Skip to content

Power defected event

Tkael edited this page Dec 28, 2020 · 9 revisions

Triggered when you defect from one power to another. 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

  • frompower The name of the power that the commander has defected from

  • topower The name of the power that the commander has defected to

To respond to this event in VoiceAttack, create a command entitled ((EDDI power defected)). The event information can be accessed using the following VoiceAttack variables

  • {TXT:EDDI power defected frompower} The name of the power that the commander has defected from
  • {TXT:EDDI power defected topower} The name of the power that the commander has defected to

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

Clone this wiki locally