April 22, 2019
Hot Topics:

Using Microsoft Agent

  • November 20, 2002
  • By Karl Moore
  • Send Email »
  • More Articles »

In addition to talking, why not get your agent walking?

You can instruct your agent to perform an animation by running the Play method.

Here's how to make your agent read:

Assistant.Play ("Read")

Or perhaps you'd like to make him think?

Assistant.Play ("Think")

How about a quick wave?

Assistant.Play ("Wave")

These are just three generic animations you could use, though each character has it's own individual actions. To find out what your agent can do, try running this sneaky code snippet:

Dim Animation As VariantFor Each Animation In Assistant.AnimationNamesMsgBox AnimationNext

This displays a list of all animations your character supports. When you have the animation name, just pass it as an argument to the Play method.

It's worth noting that after playing the animation, most characters go back to their default rest mode. However some animations, such as 'Reading' are continuous and don't cease until you execute the Stop method.

Page 4 of 7

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date