What is the most efficient JASS equivalent of
Tried to find myself but the main problem was all the functions were asking for a 'boolexpr' argument. I know how to use it, but only as a separate function, and I assume there is a better way to do this?
Trigger:
- Set g = (Units within 400.00 of (Position of (Triggering unit)) matching (((Triggering player) is an enemy of (Owner of (Matching unit))) Equal to True))
Tried to find myself but the main problem was all the functions were asking for a 'boolexpr' argument. I know how to use it, but only as a separate function, and I assume there is a better way to do this?