This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getcreepercolors [2014/07/10 02:40] – Fixed example ParkourPenguin | crpl:docs:getcreepercolors [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== GetCreeperColors | ===== GetCreeperColors | ||
Line 8: | Line 8: | ||
=== Description === | === Description === | ||
- | Gets the current RGB color values for Creeper and Anti-Creeper, | + | Gets the current RGB color values for Creeper and Anti-Creeper, |
- | + | ||
- | **Note:** The values returned are floating-point numbers between 0 and 1. To obtain normal RGB color values between 1 and 255, multiply the returned values by 255 and use the integer portion. | + | |
=== Examples === | === Examples === | ||
Warp notation | Warp notation | ||
< | < | ||
- | GetCreeperColors(->acB ->acG ->acR -> | + | GetCreeperColors ->acB ->acG ->acR -> |
</ | </ | ||
+ | |||
+ | < |