Tile - YTriggerZoneBase - Color – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Changed to Environment and added a description for each tile)
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
Line 9: Line 9:


----
----
{{Ylands scripting navbox}}
{{Ylands editor navbox}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]
[[Category: Ylands 0.12]]

Revision as of 07:44, 26 December 2020

File:Tile - YTriggerZoneBase - Color.png

  • Allows to get / set color of selected zone.
    • Get Color will return a Color literal. If written to console or log, the output will be in the format "[1,1,1,1]". These represent [Red, Green, Blue, Alpha] and each number can be between 0 (least intensity) and 1 (most intensity). In this case, Alpha represents the transparency of the zone.
    • Set Color will overwrite the current zone color and set the new zone color to the color literal or Custom Color. A Get Color Tile can also be used.

Notes



Template:Ylands editor navbox