Platform SDK: Agent |
The AnimationNames collection is a special collection that contains the list of animation names compiled for a character. You can use the collection to enumerate the names of the animations for a character. For example, in Visual Basic or VBScript (2.0 or later) you can access these names using the For Each…Next statements:
For Each Animation in Genie.AnimationNames Genie.Play Animation Next
Items in the collection have no properties, so individual items cannot be accessed directly.
For .ACF characters, the collection returns all the animations that have been defined for the character, not just the ones that have been retrieved with the Get method.