You can set up the agents speech to not execute until another action is
complete... the command goes something like Agent1.wait Agent2.speak, and
you can get a good example of it by looking at the code on Microsoft's Agent
page... the main demo where all three of the Agents interact.
Good luck!
Adam
Steven Lord wrote in message ...
>How can I get two Agents to interact synchronously? I'm using VB5. If I
load
>two Agents and try to carry on a "conversation" between the two of them,
the
>first .speak actions for both happen at the same time.
>Is there a workaround for this? Thanks.
>Steve Lord
>
>
Mike wrote in message <#uvFZ0YL...@uppssnewspub05.moswest.msn.net>...Please,Where does one find this programming manual and documentation?
Mike Rauch wrote in message ...
DIM MerlinRequest
' then... you have Merlin do something and assign it to this request:
Set MerlinRequest = Merlin.Speak ("Hello. I am talking right now.")
' then, you have another agent "wait" until that request is finished and
then speak:
Genie.Wait MerlinRequest
Genie.Speak "Hello. Now I am talking."
That should do it. Then you can reassign the MerlinRequest to his next
sentence and start again... You need to define Request variables for each
character and sometines more than one for each character.
- Chris