This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:addcreeperwithcapinrange [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:addcreeperwithcapinrange [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
====== AddCreeperWithCapInRange ====== | ====== AddCreeperWithCapInRange ====== | ||
- | AddCreeperWithCapInRange{<-cellX <-cellZ <-range < | + | AddCreeperWithCapInRange(<-cellX <-cellZ <-range < |
===== Description ===== | ===== Description ===== | ||
Line 9: | Line 10: | ||
The cap is the clipping value for the result. After the creeper is added to the destination location, if it exceeds the cap then the value will be clipped to the cap. | The cap is the clipping value for the result. After the creeper is added to the destination location, if it exceeds the cap then the value will be clipped to the cap. | ||
The cap should be a positive number. For the case of adding AC (a negative creeperAmt), | The cap should be a positive number. For the case of adding AC (a negative creeperAmt), | ||
- | If you specify a negative number for cap, it will be internally converted to a positive number before use. | + | If you specify a negative number for cap, it will be internally converted to a positive number before use. |
+ | |||
+ | |||
+ | The range (an integer) specifies the radius of the area to add creeper to. The radius is interpreted as a square, rather than a circle, if ' | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
- | AddCreeeperWithCapInRange(42 23 10 false 1000 1500) | + | AddCreeperWithCapInRange(42 23 10 false 1000 1500) |
</ | </ | ||
+ | |||
+ | ===== See Also ===== | ||
+ | * [[4rpl: | ||
+ | |||
< | < | ||