April 19, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Using Microsoft Agent, Page 4

  • November 19, 2002
  • By Karl Moore, 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.

 

 


Sitemap | Contact Us

Rocket Fuel