Author Topic: How do i add an infix to my commands?  (Read 965 times)

snibbels

  • Newbie
  • *
  • Posts: 1
How do i add an infix to my commands?
« on: April 21, 2020, 07:26:33 PM »
Hey might be obvious smh, i dont know i bought this yesterday for Mount & Blade 2.

I wanna be able to say "Infantry(prefix) fekking(infix) move it(suffix)"
While the infix not beeing necessary but optional.

Thanks in advance! Stay healthy and keep it up!


Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: How do i add an infix to my commands?
« Reply #1 on: April 21, 2020, 07:30:42 PM »
If you want to use optional segments, press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer, and search for "Dynamic Command Sections".

You'll also want to have a look at the "{CMD}" and/or "{CMDSEGMENT:}" tokens, along with the "Begin a Conditional (If Statement) Block" action, which allow you to have a command execute different actions depending on what is spoken.

RandomiZZer

  • Newbie
  • *
  • Posts: 1
Re: How do i add an infix to my commands?
« Reply #2 on: May 03, 2020, 09:49:22 PM »
Hi,
 
For mount and blade i have done a little to help with commands.

Voice command "everyone" key press (0)
Voice command "infantry" key press (1)
Voice command "archers" key press (2)
Voice command "cavalry" key press (3)

Then i follow up with:

Voice command "hold" key press (F1)(F1)
Voice command "charge" key press (F1)(F3)

Im going to add more as get to know the commands better as i only purchased the game earlier today but am happy to help if you want any more info, pics etc.

RandomiZZer