Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Animations in MS Agent characters
Message
General information
Forum:
Microsoft Office
Category:
Other
Miscellaneous
Thread ID:
00378995
Message ID:
00382205
Views:
24
>Hello All,
>
>Does anybody know how to determine which animations are supported by particular MS Agent characters? Lists of animations are different for different characters, there are animations common for most of them, but for example .Play("Greet") may not be supported by particular character. Is there a way to retrive and check the list of animations at the runtime before issuing a particular Play() function?
>
>TIA

Never mind. Found it.
The character has AnimationNames collection so the loop like

FOR EACH loAni IN thisform.oleAgent.Characters("Merlin").AnimationNames
IF loAni = "Dance"
llAnimatonExists = .t.
ENDIF
ENDFOR
will do the job taking around 0.03 sec

Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform