1. States of Animation

The template scripts are set up to handle nine different animation states: stand, walk, run, duck, crawl, jump, swim, attack and death. The template movement scripts will select which model animation cycle to use depending on what 'state' the model is in at that time. For example, if the model is in or on a passable block it is in the 'swim' state and its swimming animation cycle will be used.

Animation states

You don't need to include animation cycles for each state. For example it would be very unusual for a knight in full armor to be able to swim in water. If you choose not to include an animation cycle for a state or mislabel it (more on this later) then the model will simply 'freeze' in its last frame of animation whenever it enters the new state and hold that frame until it enters a state it has animation for.

Knight "swimming"