setHeadIconChange

fun setHeadIconChange(slot: Int, group: Int, index: Int)

Changes the head icon of a NPC to the sprite at the provided group and sprite index.

Parameters

slot

the slot of the headicon, a value of 0-8 (exclusive)

group

the sprite group id in the cache.

index

the index of the sprite in that sprite file, as sprite files contain multiple sprites together.