Author Topic: Question about VA syntax  (Read 1988 times)

DarKheran

  • Newbie
  • *
  • Posts: 7
Question about VA syntax
« on: December 21, 2020, 08:40:16 AM »
Ok so this is a hypothetical here just trying to figure out how if possible to do this should I ever need it. Given the following TTS command:

Code: [Select]
[The;] [A;B;C] [Object;]
Code: [Select]
   Say, '[The' or '] [A' or 'B' or 'C] [Object' or ']'

Given the way its structured the possible dialogue outcomes (only considering case A) are:

A
A Object
The A Object
The A

What I want to know is how to remove the "The A" outcome without ruining the other 3. I can't seem to figure out how to do this. Is there another syntactic element or way this can be restructured to make this work that im missing? Thanks!

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Question about VA syntax
« Reply #1 on: December 21, 2020, 08:49:45 AM »
Only define the combinations that are valid, using additional phrases where necessary.

E.G.
Code: [Select]
[A;B;C] [Object;];The [A;B;C] Object

DarKheran

  • Newbie
  • *
  • Posts: 7
Re: Question about VA syntax
« Reply #2 on: December 21, 2020, 08:58:38 AM »
Ahh yes, didn't think about using the semicolon outside of the brackets in such a way, thanks!