Tile - YEntity - Paint – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 63: Line 63:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 14:27, 24 November 2023

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.