Tile - YTriggerZoneBase - Color – Ylands
Jump to navigation
Jump to search
(Changed to Environment and added a description for each tile) |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Color == | |||
= | [[File:YlandsTile-492-get.png]] | ||
[[File:YlandsTile-492-set.png]] | |||
<pre>get color(): YColor; | |||
set color(value: YColor);</pre> | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Allows to '''get''' / '''set''' '''color''' of the target '''Trigger Zone'''. | |||
=== Notes === | |||
* 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 the Custom Color. A Get Color Tile can also be used. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:35, 24 November 2023
Color
get color(): YColor; set color(value: YColor);
Availability
Description
Allows to get / set color of the target Trigger Zone.
Notes
- 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 the Custom Color. A Get Color Tile can also be used.