ForceEnumPlayers

Parameters
whichForce force
filter boolexpr
comment

Populates the force by iterating all existing players and AI (excluding player neutral etc.) and adds them to force if filter returned true.

Calling GetFilterPlayer will return the current player, see Filter.

note

If you only want to iterate the force without changing it, use ForForce.

return type
nothing
Source code
native ForceEnumPlayers         takes force whichForce, boolexpr filter returns nothing
Source
common.j
wc3modding.com
ForceEnumPlayers