Tile - YEntity - Paint – Ylands

From Bohemia Interactive Community
Revision as of 14: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

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

YlandsTile-1131.png

paint(instigator: YCharacter, colorId: number, color: YColor, position: YVector3): void;

Parameters

instigator

Instigator entity

colorId

Color channel ID

color

New color

position

Particle effect position

Availability

Server

Description

Allows to apply a color on to selected color channel of target object, with paint splash effect.

Paint(Entity, Instigator, Color, Position)

YlandsTile-1128.png

paint(instigator: YCharacter, color: YColor, position: YVector3): void;

Parameters

instigator

Instigator entity

color

New color

position

Particle effect position

Availability

Server

Description

Allows to apply one color on to all color channels of target object, with paint splash effect.