Name
DisplayAnimFrame -- display a single frame of an animation (V4.0)
Synopsis
DisplayAnimFrame(id, x, y, frame[, table])
Function
This function displays a single frame of an animation at the specified coordinates.

If layers are enabled, this command will add a new layer of the type #ANIM to the layer stack.

DisplayAnimFrame() also recognizes an optional table argument which allows you to specify one or more of the standard tags for all drawing commands. See Standard drawing tags for more information about the standard tags that nearly all Hollywood drawing commands support.

Inputs
id
identifier of the animation to use
x
destination x coordinate
y
destination y coordinate
frame
animation frame to display (1 = first frame)
table
optional: table specifying further options
Example
DisplayAnimFrame(1, #CENTER, #CENTER, 5)
The code above display frame 5 of animation 1 on the center of the screen.

Show TOC