-
Notifications
You must be signed in to change notification settings - Fork 84
Module purchased event
Triggered when you purchase a module in outfitting.
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 purchased -
shipid
The ID of the ship for which the module was purchased -
slot
The outfitting slot -
buymodule
The module (object) purchased -
buyprice
The price of the module being purchased -
sellmodule
The module (object) being sold (if replacing an existing module) -
sellprice
The price of the sold module (if replacing an existing module) -
storedmodule
The module (object) being stored (if existing module stored)
To respond to this event in VoiceAttack, create a command entitled ((EDDI module purchased)). The event information can be accessed using the following VoiceAttack variables
-
{DEC:EDDI module purchased buyprice}
The price of the module being purchased -
{DEC:EDDI module purchased sellprice}
The price of the sold module (if replacing an existing module) -
{TXT:EDDI module purchased ship}
The ship for which the module was purchased -
{INT:EDDI module purchased shipid}
The ID of the ship for which the module was purchased -
{TXT:EDDI module purchased slot}
The outfitting slot