GetAnimFrame(id, frame, animid)
GetAnimFrame()
is
preferred, however, because it is faster. In the first argument, pass
an identifier for the brush you want this function to create. In the second
argument you have to specify which frame of the animation should be
loaded, and the third argument finally specifies the identifier of the
animation to use as the source.
LoadAnim(1, "TestAnim.anim") GetAnimFrame(1, 15, 1)The code above converts frame 15 of animation 1 into brush 1.