Hull damaged event - EDCD/EDDI GitHub Wiki
Triggered when your hull is damaged to a certain extent.
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.health} - The percentage health of the hull
-
{event.piloted} - True if the vehicle receiving damage is piloted by the player
-
{event.vehicle} - The vehicle that has been damaged (Ship, SRV, Fighter)
To respond to this event in VoiceAttack, create a command entitled ((EDDI hull damaged)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{DEC:EDDI hull damaged health} - The percentage health of the hull
-
{BOOL:EDDI hull damaged piloted} - True if the vehicle receiving damage is piloted by the player
-
{TXT:EDDI hull damaged vehicle} - The vehicle that has been damaged (Ship, SRV, Fighter)
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.