add Head Bar
fun addHeadBar(id: Int, startFill: Int, endFill: Int = startFill, startTime: Int = 0, endTime: Int = 0)
Adds a headbar onto the avatar. If a headbar by the same id already exists, updates the status of the old one. Up to four distinct headbars can be rendered simultaneously.
Parameters
id
the id of the headbar to render
start Fill
the number of pixels to render of this headbar at in the start. The number of pixels that a headbar supports is defined in its respective headbar config.
start Time
the delay in client cycles (20ms/cc) until the headbar renders at startFill
end Time
the delay in client cycles (20ms/cc) until the headbar arrives at endFill.