Name
CopyAnim -- clone an animation (V2.0)
Synopsis
[id] = CopyAnim(src, dst)
Function
This function clones the animation specified by src and creates a copy of it in the new animation with id dst. If you specify Nil in the dst argument, this function will choose a vacant identifier for the cloned animation automatically and return it to you. The new animation is fully independent from the old one so you could free up the source anim after it has been cloned.

Inputs
src
source animation
dst
destination animation id or Nil
Results
id
optional: identifier of the cloned anim; will only be returned when you pass Nil as argument 2 (see above)

Show TOC