User Tools

Site Tools


crpl:docs:enabletowerfield

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:enabletowerfield [2013/10/26 04:37] – created ThirdPartycrpl:docs:enabletowerfield [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]]
 =====  EnableTowerField  ===== =====  EnableTowerField  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|Range, Strengthunknown FIXMEunknown FIXMEunknown FIXME|field created around tower |''n1 n2 n3 n4 b1 -- ''|+|Range, Creeper strengthAnticreeper strengthAngle (in radians)Decrease by range|field created around tower |''n1 n2 n3 n4 b1 -- ''|
  
  
 === Description === === Description ===
 Creates a field around the tower.  Positive strengths push outward, negative strengths pull inward. 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 === === Examples ===
-<code>example goes here</code> +<code> 
 +#Creates a large field sucking creeper and anticreeper towards the core: 
 +EnableTowerField(1500 -100000000 -10000000 0 TRUE) 
 +</code>  
 + 
 +=== Possible bug === 
 +Anticreeper does not respond to AC strength, but to creeper strength. AC strength does nothing.
  
crpl/docs/enabletowerfield.1382762268.txt.gz · Last modified: 2025/02/14 14:56 (external edit)