User Tools

Site Tools


4rpl:commands:addcreeperwithcapinrange

Index
Creeper

AddCreeperWithCapInRange

AddCreeperWithCapInRange(<-cellX <-cellZ <-range <-isSquare <-creeperAmt <-cap)

Description

Adds creeper at the specified integer map area. A value of 0 means no creeper. A negative value indicates anticreeper. 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 will automatically be negated internally. 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 'isSquare' is set to true.

Examples

AddCreeperWithCapInRange(42 23 10 false 1000 1500)

See Also

4rpl/commands/addcreeperwithcapinrange.txt · Last modified: 2021/04/23 19:05 by durikkan