ForceEnumPlayers
- Parameters
whichForce forcefilter 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
GetFilterPlayerwill 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 (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
native ForceEnumPlayers takes force whichForce, boolexpr filter returns nothing