Animates a material directly instead of animating a surface which uses the material. The Material Animation will
not affect surfaces that have a cel value other than -1. Syntax:
animID=MaterialAnim(mat, CPS, flags);
mat: This is the multi-celled material.
CPS: Cels per second. This is the number of cels to cycle through each second.