Tile - YEntity - Wash Color – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Entity_colors.png]]
<!---
*Allows to '''get''' / '''set''' selected '''color channel''' of target entity.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Wash Color(Entity, Instigator, Color id, Position) ==


=Notes=
[[File:YlandsTile-1132.png]]
*'''Alpha''' channel of the [[Ylands Tile - Color literal|'''Color''']] governs the '''emisivity''' of the material.
 
<pre>washColor(instigator: YCharacter, colorId: number, position: YVector3): void;</pre>
=== Parameters ===
 
==== instigator ====
 
Instigator entity
 
==== colorId ====
 
Target color channel ID
 
==== position ====
 
Particle effect position
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to revert selected color channel of target object, with paint splash effect.
 
== Wash Color(Entity, Instigator, Position) ==
 
[[File:YlandsTile-1133.png]]
 
<pre>washColor(instigator: YCharacter, position: YVector3): void;</pre>
=== Parameters ===
 
==== instigator ====
 
Instigator entity
 
==== position ====
 
Particle effect position
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Reverts all color channels of target object to default color, with paint splash effect.




----
----
{{Ylands scripting navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
 
[[Category: Instructions]]

Revision as of 12:16, 12 November 2021

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

YlandsTile-1132.png

washColor(instigator: YCharacter, colorId: number, position: YVector3): void;

Parameters

instigator

Instigator entity

colorId

Target color channel ID

position

Particle effect position

Availability

Server

Description

Allows to revert selected color channel of target object, with paint splash effect.

Wash Color(Entity, Instigator, Position)

YlandsTile-1133.png

washColor(instigator: YCharacter, position: YVector3): void;

Parameters

instigator

Instigator entity

position

Particle effect position

Availability

Server

Description

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