setRunAnims

fun setRunAnims(runAnim: Int?, runAnimBack: Int?, runAnimLeft: Int?, runAnimRight: Int?)

Sets the run animations of this NPC. If any of the animations is null, that animation will not be overwritten by the client, allowing a subset of the below animations to be overridden.

Parameters

runAnim

the animation used when the NPC runs forward

runAnimBack

the animation used when the NPC runs backwards

runAnimLeft

the animation used when the NPC runs to the left

runAnimRight

the animation used when the NPC runs to the right