Skip to content

Settlement approached event

T'kael edited this page Jun 9, 2024 · 12 revisions

Triggered when you approach a settlement.

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.allegiance} - The superpower allegiance of the settlement the commander is approaching, when applicable

  • {event.bodyname} - The name of the body containing the settlement

  • {event.economy} - The economy of the settlement the commander is approaching, when applicable

  • {event.faction} - The faction controlling the settlement the commander is approaching, when applicable

  • {event.government} - The government of the settlement the commander is approaching, when applicable

  • {event.latitude} - The latitude coordinate of the settlement (if given)

  • {event.longitude} - The longitude coordinate of the settlement (if given)

  • {event.name} - The name of the settlement

  • {event.secondeconomy} - The secondary economy of the settlement the commander is approaching, when applicable

  • {event.stationservices} - A list of possible services available at the settlement: Dock, Autodock, BlackMarket, Commodities, Contacts, Exploration, Initiatives, Missions, Outfitting, CrewLounge, Rearm, Refuel, Repair, Shipyard, Tuning, Workshop, MissionsGenerated, Facilitator, Research, FlightController, StationOperations, OnDockMission, Powerplay, SearchAndRescue, TechBroker, MaterialTrader

  • {event.stationservices[<index>]}

To respond to this event in VoiceAttack, create a command entitled ((EDDI settlement approached)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI settlement approached allegiance} - The superpower allegiance of the settlement the commander is approaching, when applicable

  • {TXT:EDDI settlement approached bodyname} - The name of the body containing the settlement

  • {TXT:EDDI settlement approached economy} - The economy of the settlement the commander is approaching, when applicable

  • {TXT:EDDI settlement approached faction} - The faction controlling the settlement the commander is approaching, when applicable

  • {TXT:EDDI settlement approached government} - The government of the settlement the commander is approaching, when applicable

  • {DEC:EDDI settlement approached latitude} - The latitude coordinate of the settlement (if given)

  • {DEC:EDDI settlement approached longitude} - The longitude coordinate of the settlement (if given)

  • {TXT:EDDI settlement approached name} - The name of the settlement

  • {TXT:EDDI settlement approached secondeconomy} - The secondary economy of the settlement the commander is approaching, when applicable

  • {INT:EDDI settlement approached stationservices} - A list of possible services available at the settlement: Dock, Autodock, BlackMarket, Commodities, Contacts, Exploration, Initiatives, Missions, Outfitting, CrewLounge, Rearm, Refuel, Repair, Shipyard, Tuning, Workshop, MissionsGenerated, Facilitator, Research, FlightController, StationOperations, OnDockMission, Powerplay, SearchAndRescue, TechBroker, MaterialTrader

  • {TXT:EDDI settlement approached stationservices <index>}

For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.

Clone this wiki locally