Author Topic: Need to understand "Wait for spoken response" (noob in VA)  (Read 866 times)

Mamy la Puce

  • Newbie
  • *
  • Posts: 19
Hi all,

I will do my best with english (not my first language), i am doing a new profile for X4 Foundations game and i need to use this tool "Wait for spoken response". But i really don't understand what i do wrong... here is my pbl :

Say, 'Les commandes de vol sont désactivées, souhaitez-vous les activer si nous sommes en vol ?'
Wait for spoken response: 'Oui;Affirmatif;Confirmé;Bien sûr;Bien entendu;Évidemment;Tout à fait;Je valide;Ok;Non;Négatif;Annulé;Oublie;Je refuse;Je ne veux pas'
(variable : 'Vol On')
Begin Text Compare: [Vol On] Equals 'Oui;Affirmatif;Confirmé;Bien sûr;Bien entendu;Évidemment;Tout à fait;Je valide;Ok'
Say, 'Les commandes de vol sont activées, en attente des ordres'
Else If Text Compare : [Vol On] Equals 'Non;Négatif;Annulé;Oublie;Je refuse;Je ne veux pas'
Say, 'Très bien, les commandes de vol restent inactives'
Else If Text Compare : [Vol On] Has Not Been Set
Say, 'Sans réponse de votre part, les commandes de vol restent inactives'
End Condition

The only part of this condition that works is the last "Else If" :

Else If Text Compare : [Vol On] Has Not Been Set
Say, 'Sans réponse de votre part, les commandes de vol restent inactives'

None of the answers given work, i just want to set a simple choice between "answer Yes" or "answer No" or "no answer" but with more possibilities than just say "yes" or "no"...

Mamy la Puce

  • Newbie
  • *
  • Posts: 19
Re: Need to understand "Wait for spoken response" (noob in VA)
« Reply #1 on: May 06, 2021, 01:57:25 PM »
...Ok, i understand the problem, i need to use a Coumpound condition builder and use as much "OR" as there are answers, i've done it and it works very well now.

Sorry for this useless post... i'm just learning this fantastic tool and i'm just at the begining ^^

Technomancer

  • Jr. Member
  • **
  • Posts: 98
  • I have a bad feeling about this...
Re: Need to understand "Wait for spoken response" (noob in VA)
« Reply #2 on: May 06, 2021, 02:38:19 PM »
Good job on figuring it out.

Nothing sticks better in the ol' memory banks than figuring something out yourself.  ;)

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Need to understand "Wait for spoken response" (noob in VA)
« Reply #3 on: May 06, 2021, 02:43:29 PM »
Sorry for this useless post... i'm just learning this fantastic tool and i'm just at the begining ^^

No worries!  Glad you felt comfortable enough to post - and also glad you got it sorted  :)