<- CRPL reference <- Unit Commands

EnableTowerField

ArgumentsResultNotation
Range, Creeper strength, Anticreeper strength, Angle (in radians), Decrease by rangefield created around tower n1 n2 n3 n4 b1 –

Description

Creates a field around the tower. Positive strengths push outward, negative strengths pull inward.

If the last parameter is TRUE the field get weaker the farther from the tower

Field strength is measured in integer creeper (1000000 units per creeper pushed sideways).

Examples

#Creates a large field sucking creeper and anticreeper towards the core:
EnableTowerField(1500 -100000000 -10000000 0 TRUE)

Possible bug

Anticreeper does not respond to AC strength, but to creeper strength. AC strength does nothing.