Near surface event - EDCD/EDDI GitHub Wiki
Triggered when you enter or depart the gravity well around a surface.
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.approaching_surface} - A boolean value. True if you are entering the gravity well and and false if you are leaving
-
{event.bodyname} - The name of the body
-
{event.shortname} - The short name of the body, less the system name
-
{event.systemname} - The name of the starsystem
To respond to this event in VoiceAttack, create a command entitled ((EDDI near surface)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{BOOL:EDDI near surface approaching surface} - A boolean value. True if you are entering the gravity well and and false if you are leaving
-
{TXT:EDDI near surface bodyname} - The name of the body
-
{TXT:EDDI near surface shortname} - The short name of the body, less the system name
-
{TXT:EDDI near surface systemname} - The name of the starsystem
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.