baseAnimationSet

fun baseAnimationSet(turnLeftAnim: Int = Int.MIN_VALUE, turnRightAnim: Int = Int.MIN_VALUE, walkAnim: Int = Int.MIN_VALUE, walkAnimBack: Int = Int.MIN_VALUE, walkAnimLeft: Int = Int.MIN_VALUE, walkAnimRight: Int = Int.MIN_VALUE, runAnim: Int = Int.MIN_VALUE, runAnimBack: Int = Int.MIN_VALUE, runAnimLeft: Int = Int.MIN_VALUE, runAnimRight: Int = Int.MIN_VALUE, crawlAnim: Int = Int.MIN_VALUE, crawlAnimBack: Int = Int.MIN_VALUE, crawlAnimLeft: Int = Int.MIN_VALUE, crawlAnimRight: Int = Int.MIN_VALUE, readyAnim: Int = Int.MIN_VALUE)

Deprecated

Deprecated. Use setBaseAnimationSet(turnLeftAnim, turnRightAnim, walkAnim, walkAnimBack, walkAnimLeft, walkAnimRight, runAnim, runAnimBack, runAnimLeft, runAnimRight, crawlAnim, crawlAnimBack, crawlAnimLeft, crawlAnimRight, readyAnim) for consistency.

Replace with

setBaseAnimationSet(turnLeftAnim, turnRightAnim, walkAnim, walkAnimBack, walkAnimLeft, walkAnimRight, runAnim, runAnimBack, runAnimLeft, runAnimRight, crawlAnim, crawlAnimBack, crawlAnimLeft, crawlAnimRight, readyAnim)

Sets the base animation set of this NPC with the provided values. If the value is equal to Int.MIN_VALUE, the animation will not be overwritten. Only the 16 lowest bits of the animation ids are used.

Parameters

turnLeftAnim

the animation used when the NPC turns to the left

turnRightAnim

the animation used when the NPC turns to the right

walkAnim

the animation used when the NPC walks forward

walkAnimLeft

the animation used when the NPC walks to the left

walkAnimRight

the animation used when the NPC walks to the right

walkAnimBack

the animation used when the NPC walks backwards

runAnim

the animation used when the NPC runs forward

runAnimLeft

the animation used when the NPC runs to the left

runAnimRight

the animation used when the NPC runs to the right

runAnimBack

the animation used when the NPC runs backwards

crawlAnim

the animation used when the NPC crawls forward

crawlAnimLeft

the animation used when the NPC crawls to the left

crawlAnimRight

the animation used when the NPC crawls to the right

crawlAnimBack

the animation used when the NPC crawls backwards

readyAnim

the default stance animation of this NPC when it is not moving