Author Topic: Debugging  (Read 2801 times)

GreyArea

  • Guest
Debugging
« on: March 24, 2017, 12:11:11 PM »
I know I can use {CMD} to get Voiceattack to say the command name. Is there a similar flag for the "description" field as well?

All of which makes me think...has anyone written a voice attack profile that writes a voice attack profile? If it possible to get VoiceAttack to add/edit voice attack commands?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4780
  • RTFM
Re: Debugging
« Reply #1 on: March 24, 2017, 02:21:28 PM »
I know I can use {CMD} to get Voiceattack to say the command name. Is there a similar flag for the "description" field as well?
No. However, you can put any text you want into a "Write a Value to the Event Log" action, not just the description. What information are you looking to get from the description field that can't be put into an action?

If it possible to get VoiceAttack to add/edit voice attack commands?
Yes. VoiceAttack can interact with itself like it can with any application.

GreyArea

  • Guest
Re: Debugging
« Reply #2 on: March 24, 2017, 02:37:13 PM »
I'm taking advice/method of another user who used separate commands for bindings...all titles are set to "{Name of action in game} binding, and I'm putting the key in the description...

I'll look at the event log option, but starting to realise that what I really want is variable keypresses...

Is there a way to "Ask" voiceattack what key is associated with a spoken command? Something like "What key is linked to {name of command}?", answer to be "{name of command} is linked to {key} amd {joystick button}"

Thanks!

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4780
  • RTFM
Re: Debugging
« Reply #3 on: March 24, 2017, 03:43:16 PM »
separate commands for bindings
Executing another command has some overhead; You'll find it's slower than variable or straight-up keypresses.

You could use a variable keypress, and name the variable after the ingame function.

Is there a way to "Ask" voiceattack what key is associated with a spoken command?
No.
I was under the impression I'd already requested such a feature, but I can't find the feature request right now.

It'd be handy for checking whether the trigger hotkey is still pressed while the command is running, which is what I want to use it for.