~~NOTOC~~
<=[[4rpl:start| Index]] \\
<=[[4rpl:start#creeper| Creeper]]
* [[4rpl:commands:AddCreeperInRange|Add]]
* [[4rpl:commands:GetCreeperInRange|Get]]
* [[4rpl:commands:SetCreeperInRange|Set]]
:!: Available in 2.0.4 and later
====== GetCreeperInRange ======
GetCreeperInRange(<-cellX <-cellZ <-radius <-isSquare <-checkCreeper <-checkAnticreeper) ->totalCreeperInRange
===== Description =====
Gets the creeper amount in the specified integer map area. A value of 0 means no creeper. A negative value indicates anticreeper. The amount specified is a floating point number where 1 represents creeper that has a height of 1 terrain unit. The checkCreeper and checkAnticreeper boolean arguments control whether or not creeper and anticreeper are tallied. If both are true, the the result will be the sum of all creeper and anticreeper in range. If you only want creeper tallied, set checkCreeper to true and checkAnticreeper to false, etc.
===== Examples =====
GetCreeperInRange(42 23 10 false true false) ->creeperAmt
<=[[4rpl:start| Index]]