Ylands:Tile - YEntity - Paint

From Bohemia Interactive Community
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.