setWalkAnims

fun setWalkAnims(walkAnim: Int?, walkAnimBack: Int?, walkAnimLeft: Int?, walkAnimRight: Int?)

Sets the walk 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

walkAnim

the animation used when the NPC walks forward

walkAnimBack

the animation used when the NPC walks backwards

walkAnimLeft

the animation used when the NPC walks to the left

walkAnimRight

the animation used when the NPC walks to the right