User Tools

Site Tools


crpl:docs:getcreepercolors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:getcreepercolors [2014/02/04 00:51] – created from incorrect namespace - crpl:GetCreeperColors Grayzzurcrpl:docs:getcreepercolors [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#creeper_commands|Creeper Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#creeper_commands|Creeper Commands]]
 =====  GetCreeperColors  ===== =====  GetCreeperColors  =====
Line 8: Line 8:
  
 === Description === === Description ===
-Gets the current RGB color values for Creeper and Anti-Creeper, respectively +Gets the current RGB color values for Creeper and Anti-Creeper, respectively.
- +
-**Note:** The values returned are floating-point numbers between 0 and 1To 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
Line 17: Line 14:
 GetCreeperColors ->acB ->acG ->acR ->creeperB ->creeperG ->creeperR GetCreeperColors ->acB ->acG ->acR ->creeperB ->creeperG ->creeperR
 </code>  </code> 
 +
 +<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.</note>
crpl/docs/getcreepercolors.1391475089.txt.gz · Last modified: 2025/02/14 14:56 (external edit)