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, seeFilter
.- note
If you only want to iterate the force without changing it, use
ForForce
.- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native ForceEnumPlayers takes force whichForce, boolexpr filter returns nothing