Tile - YEntity - Wash Color – Ylands

From Bohemia Interactive Community
(Redirected from Ylands Tile - Entity colors)
Jump to navigation Jump to search

Wash Color(Entity, Instigator, Color id, Position)

YlandsTile-1132.png

washColor(instigator: YCharacter, colorId: number, position: YVector3): void;

Parameters

instigator

Instigator entity

colorId

Target color channel ID

position

Particle effect position

Availability

Server

Description

Allows to revert selected color channel of target object, with paint splash effect.

Wash Color(Entity, Instigator, Position)

YlandsTile-1133.png

washColor(instigator: YCharacter, position: YVector3): void;

Parameters

instigator

Instigator entity

position

Particle effect position

Availability

Server

Description

Reverts all color channels of target object to default color, with paint splash effect.