-
Notifications
You must be signed in to change notification settings - Fork 81
Nav route event
Triggered when the navigation route is updated.
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.directdistance} - The direct line distance to the destination starsystem, in light years
-
{event.distance} - The total distance spanned by the plotted route, in light years
-
{event.jumps} - The number of jumps in the plotted route
-
{event.route} - The plotted route (this is a collection of NavWaypoint objects)
To respond to this event in VoiceAttack, create a command entitled ((EDDI nav route)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI nav route} - The plotted route (this is a collection of NavWaypoint objects)
-
{DEC:EDDI nav route directdistance} - The direct line distance to the destination starsystem, in light years
-
{DEC:EDDI nav route distance} - The total distance spanned by the plotted route, in light years
-
{INT:EDDI nav route jumps} - The number of jumps in the plotted route
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.