Skip to content

Material threshold event

Tkael edited this page Dec 28, 2020 · 10 revisions

Triggered when a material reaches a threshold. 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

  • material The material

  • level The level that has been triggered (Minimum/Desired/Maximum)

  • limit The amount of the limit that has been passed

  • amount The current amount of the material

  • change The change to the inventory (Increase/Reduction)

To respond to this event in VoiceAttack, create a command entitled ((EDDI material threshold)). The event information can be accessed using the following VoiceAttack variables

  • {INT:EDDI material threshold amount} The current amount of the material
  • {TXT:EDDI material threshold change} The change to the inventory (Increase/Reduction)
  • {TXT:EDDI material threshold level} The level that has been triggered (Minimum/Desired/Maximum)
  • {INT:EDDI material threshold limit} The amount of the limit that has been passed

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

Clone this wiki locally