-
Notifications
You must be signed in to change notification settings - Fork 92
Passengers event
Triggered at startup, with basic information of the Passenger Manifest.
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.passengers} - The manifest of passengers on your ship (as objects)
-
{event.passengers[<index>].amount} - the number of passengers
-
{event.passengers[<index>].type} - the passenger's type
-
{event.passengers[<index>].vip} - whether the passenger is a VIP
-
{event.passengers[<index>].wanted} - whether the passenger is wanted
To respond to this event in VoiceAttack, create a command entitled ((EDDI passengers)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI passengers passengers} - The manifest of passengers on your ship (as objects)
-
{INT:EDDI passengers passengers <index> amount} - the number of passengers
-
{TXT:EDDI passengers passengers <index> type} - the passenger's type
-
{BOOL:EDDI passengers passengers <index> vip} - whether the passenger is a VIP
-
{BOOL:EDDI passengers passengers <index> wanted} - whether the passenger is wanted
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.