specificTinting

fun specificTinting(startTime: Int, endTime: Int, hue: Int, saturation: Int, lightness: Int, weight: Int, visibleTo: PlayerInfo)

Deprecated

Deprecated. Use setSpecificTinting(startTime, endTime, hue, saturation, lightness, weight, visibleTo) for consistency.

Replace with

setSpecificTinting(startTime, endTime, hue, saturation, lightness, weight, visibleTo)

Applies a tint over the non-textured parts of the character.

Parameters

startTime

the delay in client cycles (20ms/cc) until the tinting is applied.

endTime

the timestamp in client cycles (20ms/cc) until the tinting finishes.

hue

the hue of the tint.

saturation

the saturation of the tint.

lightness

the lightness of the tint.

weight

the weight (or opacity) of the tint.

visibleTo

the player who will see the tint applied. Note that this only accepts player indices, and not NPC ones like many other extended info blocks.