Tile - YEntity - Revert Color – Ylands

From Bohemia Interactive Community
Revision as of 15:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Revert Color(Entity)

YlandsTile-1130.png

revertColor(): void;

Availability

Server

Description

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

Revert Color(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.