Skip to content

Instantly share code, notes, and snippets.

@headswe
Last active September 13, 2015 17:41
Show Gist options
  • Save headswe/3ef77490145c6d4b5926 to your computer and use it in GitHub Desktop.
Save headswe/3ef77490145c6d4b5926 to your computer and use it in GitHub Desktop.
params ["_pos","_radius","_side];
{_pos distance2d _x < _radius && {side _x == _side}} count allunits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment