Repository navigation
Embark event
Triggered when you transition from on foot to a ship or SRV.
Where values are indexed (the compartments on a ship for example), the index will be represented by '<index>'. For VoiceAttack, a variable with the root name of the indexed array shall identify the total number of entries in the array. For example, if compartments 1 and 2 are available then the value of the corresponding 'compartments' variable will be 2.
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.bodyId} - The numeric ID of the body from which the commander is embarking (if any)
-
{event.bodyname} - The name of the body from which the commander is embarking (if any)
-
{event.deployedVessels} - A list of currently deployed vessels, as objects
-
{event.deployedVessels[<index>].invariantName} - The invariant English name.
-
{event.deployedVessels[<index>].name} - The localized name.
-
{event.marketId} - The numeric ID of the station from which the commander is embarking (if any)
-
{event.onplanet} - True if embarking from a planet
-
{event.onstation} - True if embarking from a station
-
{event.station} - The name of the station from which the commander is embarking (if any)
-
{event.stationtype} - The type of station from which the commander is embarking (if any)
-
{event.systemAddress} - The numeric system address of the star system from which the commander is embarking
-
{event.systemname} - The name of the star system in which the commander is embarking
-
{event.tomulticrew} - True if embarking to another player's ship
-
{event.toship} - True if embarking to your own ship
-
{event.tosrv} - True if embarking to an SRV or Nomad
-
{event.totransport} - True if embarking to a transport ship (e.g. taxi or dropship)
To respond to this event in VoiceAttack, create a command entitled ((EDDI embark)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI embark body id} - The numeric ID of the body from which the commander is embarking (if any)
-
{TXT:EDDI embark bodyname} - The name of the body from which the commander is embarking (if any)
-
{INT:EDDI embark deployed vessels} - A list of currently deployed vessels, as objects
-
{TXT:EDDI embark deployed vessels <index> invariant name} - The invariant English name.
-
{TXT:EDDI embark deployed vessels <index> name} - The localized name.
-
{DEC:EDDI embark market id} - The numeric ID of the station from which the commander is embarking (if any)
-
{BOOL:EDDI embark onplanet} - True if embarking from a planet
-
{BOOL:EDDI embark onstation} - True if embarking from a station
-
{TXT:EDDI embark station} - The name of the station from which the commander is embarking (if any)
-
{TXT:EDDI embark stationtype} - The type of station from which the commander is embarking (if any)
-
{DEC:EDDI embark system address} - The numeric system address of the star system from which the commander is embarking
-
{TXT:EDDI embark systemname} - The name of the star system in which the commander is embarking
-
{BOOL:EDDI embark tomulticrew} - True if embarking to another player's ship
-
{BOOL:EDDI embark toship} - True if embarking to your own ship
-
{BOOL:EDDI embark tosrv} - True if embarking to an SRV or Nomad
-
{BOOL:EDDI embark totransport} - True if embarking to a transport ship (e.g. taxi or dropship)
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.