User Tools

Site Tools


manual:gameplugins:voiceattack

This is an old revision of the document!


SPAD.neXt VoiceAttack plugin

VoiceAttack >= 1.5.12.17 (Current Beta) required!

  • Quit VoiceAttack
  • In <VoiceAttackInstallDir>\Apps create a directory “SPAD.neXt”
  • Copy “GamePlugins\Voiceattack\snVoiceAttack_plugin.dll” to that Directory

For the plugin to work you will need to enable Apps in VoiceAttack.

VoiceAttack and SPAD.neXt need to run on the same computer.

General

The plugin will use the variables snSTATUS (“OK” or “ERROR”) to signal if the call was successful.
if snSTATUS is “ERROR” the variable snMESSAGE will contain the error message.

Always set the checkbox at “Wait for plugin function to finish”!

Functions

Available “context” values for VoiceAttack:

GetValue

Retrieve a variable Value from SPAD.neXt.
Input:
decimal VariableName to contain the full variable name from SPAD.neXt (e.g. LOCAL!SYSTEM READY). Given in decimalVariables
Important: all : (colon) need to be replaced by ! (exclamation mark) due to a limitation of VoiceAttack


Output:
The variable named like the value you queried (e.g. LOCAL!SYSTEM READY) will contain the variable value.
Important: all : (colon) will be replaced by ! (exclamation mark) due to a limitation of VoiceAttack

SetValue

Set a variable value within SPAD.neXt

Input:
decimal variableName (e.g. LOCAL!SYSTEM READY) needs to contain the new value
Important: all : (colon) need to be replaced by ! (exclamation mark) due to a limitation of VoiceAttack

EmulateEvent

Not yet supported

Demo profile

Source Code

For your reference the source code of the plugin is available at GitHub SPAD.neXt Public Code

manual/gameplugins/voiceattack.1475102142.txt.gz · Last modified: 2016/09/29 00:35 by c0nnex