This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
crpl:docs:enabletowerfield [2015/01/01 19:13] – Added example from comment stewbasic | crpl:docs:enabletowerfield [2015/03/28 11:29] (current) – multiple changes warren | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
<- [[crpl: | <- [[crpl: | ||
===== EnableTowerField | ===== EnableTowerField | ||
Line 11: | Line 10: | ||
If the last parameter is TRUE the field get weaker the farther from the tower | 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 === | === Examples === | ||
- | Creates a large field sucking creeper and anticreeper towards the core: | ||
< | < | ||
+ | #Creates a large field sucking creeper and anticreeper towards the core: | ||
EnableTowerField(1500 -100000000 -10000000 0 TRUE) | EnableTowerField(1500 -100000000 -10000000 0 TRUE) | ||
</ | </ | ||
+ | |||
+ | === Possible bug === | ||
+ | Anticreeper does not respond to AC strength, but to creeper strength. AC strength does nothing. | ||
+ |