dcsimg
June 18, 2018
Hot Topics:

Using Microsoft Agent

  • November 19, 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.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date