-
Notifications
You must be signed in to change notification settings - Fork 84
Module swapped event
T'kael edited this page May 25, 2018
·
9 revisions
Triggered when modules are swapped between slots on the ship.
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
-
ship
The ship for which the module was swapped -
shipid
The ID of the ship for which the module was swapped -
fromslot
The slot from which the swap was initiated -
frommodule
The module (object) from which the swap was initiated -
toslot
The slot to which the swap was finalised -
tomodule
The module (object) to which the swap was finalised
To respond to this event in VoiceAttack, create a command entitled ((EDDI module swapped)). The event information can be accessed using the following VoiceAttack variables
-
{TXT:EDDI module swapped fromslot}
The slot from which the swap was initiated -
{TXT:EDDI module swapped ship}
The ship for which the module was swapped -
{INT:EDDI module swapped shipid}
The ID of the ship for which the module was swapped -
{TXT:EDDI module swapped toslot}
The slot to which the swap was finalised