-
Notifications
You must be signed in to change notification settings - Fork 91
Hand weapon upgraded event
Triggered when upgrading a hand weapon to a new grade.
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.cost} - The weapon's upgrade cost
-
{event.grade} - The weapon's new grade
-
{event.weapon} - The weapon, as an object
-
{event.weapon.invariantName}
-
{event.weapon.manufacturer} - The weapon's manufacturer, as an object
-
{event.weapon.manufacturer.name} - The manufacturer name
-
{event.weapon.manufacturer.phoneticname} - The phonetic name of the manufacturer, if it is known
-
{event.weapon.name}
-
{event.weapon.price} - The weapon's standard grade 1 price
-
{event.weapon.type} - The weapon's type, as an object
-
{event.weapon.type.invariantName}
-
{event.weapon.type.name}
To respond to this event in VoiceAttack, create a command entitled ((EDDI hand weapon upgraded)). VoiceAttack variables will be generated to allow you to access the event information.
The following VoiceAttack variables are available for this event:
-
{INT:EDDI hand weapon upgraded cost} - The weapon's upgrade cost
-
{INT:EDDI hand weapon upgraded grade} - The weapon's new grade
-
{TXT:EDDI hand weapon upgraded weapon invariant name}
-
{TXT:EDDI hand weapon upgraded weapon manufacturer name} - The manufacturer name
-
{TXT:EDDI hand weapon upgraded weapon manufacturer phoneticname} - The phonetic name of the manufacturer, if it is known
-
{TXT:EDDI hand weapon upgraded weapon name}
-
{INT:EDDI hand weapon upgraded weapon price} - The weapon's standard grade 1 price
-
{TXT:EDDI hand weapon upgraded weapon type invariant name}
-
{TXT:EDDI hand weapon upgraded weapon type name}
For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.