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

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:
snVariableName to contain the full variable name from SPAD.neXt (e.g. LOCAL!SYSTEM READY). Given in textVariables
Important: all : (colon) need to be replaced by ! (exclamation mark) due to a limitation of VoiceAttack


Output:
A 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:
snVariableName to contain the full variable name from SPAD.neXt (e.g. LOCAL!SYSTEM READY). Given in textVariables
Important: all : (colon) need to be replaced by ! (exclamation mark) due to a limitation of VoiceAttack

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

Source Code

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

manual/gameplugins/voiceattack.1474492478.txt.gz · Last modified: 2016/09/21 23:14 by c0nnex