Author Topic: List of available state values/api/function calls!  (Read 4144 times)

MonkeyMagic75

  • Newbie
  • *
  • Posts: 8
List of available state values/api/function calls!
« on: October 31, 2020, 12:48:00 PM »
Hi,
Is there a list of available state values or functions, for example to get the current TACAN State ie T/R or R etc? A list of things like this for us to programatically interact with DCS would be awesome for me.
Many Thanks.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: List of available state values/api/function calls!
« Reply #1 on: October 31, 2020, 12:59:02 PM »
Are you referring to a feature of a third-party plugin?


The native properties and methods available through the proxy object for use in plugins and inline functions are listed in the documentation (Press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer); None of them are specific to any third-party game or application (the Microsoft speech recognition system and Windows aside).


If you want to get non-standard data (I.E. not provided to/by the standard Windows APIs) from a specific game or application, you need a third-party component to provide that data to VoiceAttack.
« Last Edit: February 01, 2021, 08:47:29 AM by Pfeil »

MonkeyMagic75

  • Newbie
  • *
  • Posts: 8
Re: List of available state values/api/function calls!
« Reply #2 on: October 31, 2020, 01:06:18 PM »
Thanks for you answer. Do you happen to know of such a third party componant for DCS in game information?
Thanks

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: List of available state values/api/function calls!
« Reply #3 on: October 31, 2020, 01:22:03 PM »
VAICOM PRO uses a plugin to interact with DCS, however the data it uses may not be made available for use outside its own profile; That would be up to its author.


I'm not personally aware of any VoiceAttack plugins for getting general DCS data, though they may exist.

There is a project called DCS-BIOS which is intended to interface with physical cockpit controls, however you may be able to adapt that for use with a VoiceAttack plugin (license permitting).


Keep in mind that most games and other applications use their own proprietary methods for storing and handling data, so there is no universal solution to get internal data from them. Even DCS internally doesn't adhere to any real standard when it comes to the cockpit control data for individual aircraft.