Animates a tile. Every cell showing it runs through the frames on the clock, so they all stay in step. A frameCount below 2 or msPerFrame below 1 stops the animation. Takes tileset (The tileset's handle), id (The tile id. 0 is empty, and ids from 1 are the tiles in the tileset), firstFrame (The tile id of the first frame), frameCount (How many tile ids in a row it uses), msPerFrame (How long each frame shows, in milliseconds). Returns nothing.
tileset
Int
id
Int
firstFrame
Int
frameCount
Int
msPerFrame
Int
tmSetTileAnim(tiles, 9, 9, 4, 120)