I guess, this is not the optimal (because less populated) place to ask the following question. However, it doesn't fit into the other forum categories. So ...
Yesterday, I tried to teach VoiceAttack to play me some energizing combat music.
In principle, it worked fine.
However, after playing one song out of my folder, it stopped. Annoying, but understandable.
Hence I tried to create a loop, running until a variable called 'play_music' was set to 'false' in my additional "stop music" command.
The effect was... cataclysmic.
As the 'play sound' command had to be set to 'allow other commands to run while this one is still active' (I don't have the exact wording at hand, but you know what I mean), the loop inevitably started to play all songs. At once!
So the question is:
Is there a way in VoiceAttack to test whether or not a started sound (= music) is still running so I can set a related flag and not let VA start another song till the first has ended?
Yesterday, I tried to teach VoiceAttack to play me some energizing combat music.
In principle, it worked fine.
However, after playing one song out of my folder, it stopped. Annoying, but understandable.
Hence I tried to create a loop, running until a variable called 'play_music' was set to 'false' in my additional "stop music" command.
The effect was... cataclysmic.
As the 'play sound' command had to be set to 'allow other commands to run while this one is still active' (I don't have the exact wording at hand, but you know what I mean), the loop inevitably started to play all songs. At once!
So the question is:
Is there a way in VoiceAttack to test whether or not a started sound (= music) is still running so I can set a related flag and not let VA start another song till the first has ended?