Tile - YEntity - Revert Colors – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Revert Colors(Entity)

YlandsTile-1130.png

revertColor(): void;

Availability

Server

Description

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

Revert Colors(Entity, Color 1, Color 2, Color 3)

YlandsTile-494.png

revertColor(color1: boolean, color2: boolean, color3: boolean): void;

Parameters

color1

Whether to revert color channel 1 (boolean)

color2

Whether to revert color channel 2 (boolean)

color3

Whether to revert color channel 3 (boolean)

Availability

Server

Description

Allows to revert selected color channels of the target entity.