User Tools

Site Tools


crpl:docs:iscreeperinrange

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:iscreeperinrange [2015/02/22 05:34] pawel345crpl:docs:iscreeperinrange [2015/03/19 07:55] (current) – discussion kill warren
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#creeper_commands|Creeper Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#creeper_commands|Creeper Commands]]
 =====  IsCreeperInRange  ===== =====  IsCreeperInRange  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|int x, int y, int range, int threshold, bool lessThan, bool square, bool AC| |''x y r t lt s ac -- ''|+|int x, int y, int range, int threshold, bool lessThan, bool square, bool AC| ansber |''x y r t lt s ac -- b4 ''|
  
  
 === Description === === Description ===
 Checks if there is creeper in range of the x,y coordinates, threshold parameter defines the minimal amount of creeper to be found, while square command switches between a square and a circle area of searching. AC parameter defines if anti-creeper is searched for. Checks if there is creeper in range of the x,y coordinates, threshold parameter defines the minimal amount of creeper to be found, while square command switches between a square and a circle area of searching. AC parameter defines if anti-creeper is searched for.
 +<note>GetCreeper returns a float value, but threshold is an integer.  So, to test for a creeper level of 1.0, you'd use a threshold of 1,000,000.</note>
 === Examples === === Examples ===
 <code> <code>
crpl/docs/iscreeperinrange.txt · Last modified: 2015/03/19 07:55 by warren