Ship targeted event - EDCD/EDDI GitHub Wiki

Triggered when the player selects a non-Thargoid target.

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.bounty} - The bounty being offered by system authorities for destruction of the ship

  • {event.faction} - The faction of the pilot

  • {event.hullhealth} - The health of the hull

  • {event.legalstatus} - The legal status of the pilot

  • {event.name} - The name of the pilot

  • {event.power} - The aligned power of the pilot (if player is pledged)

  • {event.rank} - The rank of the pilot

  • {event.scanstage} - the stage of the ship scan (e.g. 0, 1, 2, or 3)

  • {event.shieldhealth} - The health of the shields

  • {event.ship} - the model of the ship

  • {event.subsystem} - The subsystem targeted

  • {event.subsystemhealth} - The health of the subsystem targeted

  • {event.targetlocked} - True when a ship has been targeted. False when a target has been lost/deselected

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

The following VoiceAttack variables are available for this event:

  • {INT:EDDI ship targeted bounty} - The bounty being offered by system authorities for destruction of the ship

  • {TXT:EDDI ship targeted faction} - The faction of the pilot

  • {DEC:EDDI ship targeted hullhealth} - The health of the hull

  • {TXT:EDDI ship targeted legalstatus} - The legal status of the pilot

  • {TXT:EDDI ship targeted name} - The name of the pilot

  • {TXT:EDDI ship targeted power} - The aligned power of the pilot (if player is pledged)

  • {TXT:EDDI ship targeted rank} - The rank of the pilot

  • {INT:EDDI ship targeted scanstage} - the stage of the ship scan (e.g. 0, 1, 2, or 3)

  • {DEC:EDDI ship targeted shieldhealth} - The health of the shields

  • {TXT:EDDI ship targeted ship} - the model of the ship

  • {TXT:EDDI ship targeted subsystem} - The subsystem targeted

  • {DEC:EDDI ship targeted subsystemhealth} - The health of the subsystem targeted

  • {BOOL:EDDI ship targeted targetlocked} - True when a ship has been targeted. False when a target has been lost/deselected

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

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