-
Notifications
You must be signed in to change notification settings - Fork 82
Vehicle destroyed event
Triggered when your vehicle (fighter or SRV) is destroyed.
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.id} - The vehicle's id
-
{event.srvType} - The localized SRV type (if the vehicle was an SRV)
-
{event.srvTypeInvariant} - The invariant SRV type (if the vehicle was an SRV)
-
{event.vehicle} - The vehicle that was destroyed (e.g. 'fighter' or 'srv')
To respond to this event in VoiceAttack, create a command entitled ((EDDI vehicle destroyed)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI vehicle destroyed id} - The vehicle's id
-
{TXT:EDDI vehicle destroyed srv type} - The localized SRV type (if the vehicle was an SRV)
-
{TXT:EDDI vehicle destroyed srv type invariant} - The invariant SRV type (if the vehicle was an SRV)
-
{TXT:EDDI vehicle destroyed vehicle} - The vehicle that was destroyed (e.g. 'fighter' or 'srv')
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.