GetCreepCamp
- Parameters
min integerMinimal power allowed
max integerMaximum power allowed
flyers_ok booleanFilter 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 = 3andmax = 3then the camp that will be detected will have 3 possibilities:- 3 creeps of level 1
- 1 creep of level 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