head Icon Change
Deprecated
Deprecated. Use setHeadIconChange(slot, group, index) for consistency.
Replace with
setHeadIconChange(slot, group, index)Content copied to clipboard
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.