CommandPlayAnimation

From Dragon Age Toolset Wiki
Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

This function is a play animation command constructor.

command CommandPlayAnimation(
int nAnimation,
int nLoops = 0,
int bPlayNext = 0,
int bBlendIn = 1
);
Parameters:
nAnimation
the animation that the object should play
nLoops
The number of loops to play if its a looping animation or the next looping animation, if its a transition animation
bPlayNext
Indicates if the engine will automatically play the next animation after the initial animation and its looping animation
bBlendIn
[Undocumented]
Returns:

a valid command

Source:

script.ldf

Description

This function is a play animation command constructor. It creates a play animation command which can then be added to any object's command queue. This command, when processed will attempt to play the specified animation on the object.