<- PRPL reference <- Particles
Arguments | Result | Notation |
---|---|---|
x y range square? enemy? | count | [ int int int bool bool - int ] |
Gets the number of particles in the specified area: (x,y) is the center in cell coordinates, the range is the radius of the search is cells. If square is set, it will search in a square area, otherwise a circle area. Only particles from the specified team are counted.
Returns the count of all found particles. See GetNearestShipInRange for more details.
CurrentCoords 5 0 1 GetParticlesInRadius ->count # counts all enemy particles that are 5 or less cells away from the current core