setCrawlAnims

fun setCrawlAnims(crawlAnim: Int?, crawlAnimBack: Int?, crawlAnimLeft: Int?, crawlAnimRight: Int?)

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

crawlAnim

the animation used when the NPC crawls forward

crawlAnimBack

the animation used when the NPC crawls backwards

crawlAnimLeft

the animation used when the NPC crawls to the left

crawlAnimRight

the animation used when the NPC crawls to the right