GetCreepCamp

Parameters
mininteger

Minimal power allowed

maxinteger

Maximum power allowed

flyers_okboolean

Filter by flying units in the camp. Set to true to allow flying and false for ground units only.

comment

Searches for the nearest creep camp, the parameters defines the power of the camp.

The power is the total level of all creeps. For example, lets say min = 3 and max = 3 then the camp that will be detected will have 3 possibilities:

  1. 3 creeps of level 1
  2. 1 creep of level 3
  3. 1 creep of level 2 and 1 creep of level 1
patch

1.00

Source
common.ai (raise an issue to discuss on Github or submit a PR)
return type
unit
Source code
native GetCreepCamp         takes integer min, integer max, boolean flyers_ok returns unit