Search found 3 matches

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
by swen
Thu Mar 01, 2012 4:26 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Problem using getUnitsInRadius()
Replies: 7
Views: 2200

Works perfectly for me now, thanks for the fix!
by swen
Thu Jan 26, 2012 3:05 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Problem using getUnitsInRadius()
Replies: 7
Views: 2200

Thanks for the tip Heinermann, definitely makes it more readable (and also saves that little bit of processing time I guess)
- unfortunately the result is still the same: unit iteration works (all units are found), but any search for surrounding units returns an empty set :/
by swen
Tue Jan 24, 2012 5:54 am
Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
Topic: Problem using getUnitsInRadius()
Replies: 7
Views: 2200

Problem using getUnitsInRadius()

Hi, I'm trying to get all units within a certain range of another unit. However, both getUnitsInRadius() and also getUnitsInWeaponRange() return empty sets for all radii and WeaponsTypes that I tried. The resulting set always comes back empty for all units, even if the scene is like in the attached ...
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Go to advanced search